{"id":882,"date":"2024-09-30T10:47:50","date_gmt":"2024-09-30T10:47:50","guid":{"rendered":"http:\/\/champs-new.lndo.site\/?page_id=882"},"modified":"2025-03-10T00:19:32","modified_gmt":"2025-03-10T00:19:32","slug":"the-power-of-data","status":"publish","type":"page","link":"https:\/\/champshealth.org\/the-power-of-data\/","title":{"rendered":"The Power of Data"},"content":{"rendered":"\n<div class=\"wp-block-cover page-header fade-in-down-stagger\" style=\"min-height:350px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-black-background-color has-background-dim-70 has-background-dim\"><\/span><img loading=\"lazy\" decoding=\"async\" width=\"2400\" height=\"1600\" class=\"wp-block-cover__image-background wp-image-1250\" alt=\"\" src=\"https:\/\/live-champs-new.pantheonsite.io\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash.jpg\" data-object-fit=\"cover\" srcset=\"https:\/\/champshealth.org\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash.jpg 2400w, https:\/\/champshealth.org\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash-300x200.jpg 300w, https:\/\/champshealth.org\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash-1024x683.jpg 1024w, https:\/\/champshealth.org\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash-768x512.jpg 768w, https:\/\/champshealth.org\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash-1536x1024.jpg 1536w, https:\/\/champshealth.org\/wp-content\/uploads\/2024\/10\/annie-spratt-427347-unsplash-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 2400px) 100vw, 2400px\" \/><div class=\"wp-block-cover__inner-container is-layout-constrained wp-block-cover-is-layout-constrained\">\n<p class=\"has-text-align-center has-medium-font-size\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Data Overview<\/h2>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group pad-5 pad-top-2\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center fade-in-down-stagger has-text-color has-link-color has-medium-font-size wp-elements-29de0f66ec199ddbeb754ef107265732\" style=\"color:#4c9e45\">OUR DATA<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center fade-in-down-stagger\">Turning Insights into Action<\/h2>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center w-85 margin-auto fade-in-down-stagger has-text-color has-link-color wp-elements-86b55523d00fe4adbbbfb881e2ed92d5\" style=\"color:#000000\">These data provide summaries of the CHAMPS-eligible and enrolled cases across all surveillance sites, offering a clear understanding of child mortality causes. Causes of death are categorized by CHAMPS\u2019 site, etiology, CHAMPS mortality categories, age group, and other filters. Causes of death can be viewed by all causes or specific etiologies, offering critical insights to support paediatric health interventions, and promote child survival action.&nbsp;&nbsp;<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group pad-5 dots-bg-right pad-bottom-2 fade-in-down-stagger has-background\" style=\"background-color:#eaeaea\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-text-align-center\">Explore the Data<\/h2>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center w-85 margin-auto fade-in-down-stagger has-text-color has-link-color wp-elements-02814be9fd2c334b14cc93bcad65f9a2\" style=\"color:#000000\">Explore how CHAMPS\u2019 real-time data identifies child mortality causes for under-five, enabling us to save lives.&nbsp;<\/p>\n\n\n\n<p style=\"text-align:center\"> Click <span class=\"click-to-expand\"> <i class=\"fa-solid fa-up-right-and-down-left-from-center\"> <\/i> <\/span>\n\nto enlarge any of the graphs below.\n\n <\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n    <script src=\"https:\/\/d3js.org\/d3.v6.min.js\"><\/script>\n\n<!-- Include core amCharts library -->\n<script src=\"https:\/\/cdn.amcharts.com\/lib\/4\/core.js\"><\/script>\n\n<!-- Include chart library -->\n<script src=\"https:\/\/cdn.amcharts.com\/lib\/4\/charts.js\"><\/script>\n\n<!-- Include animated theme (optional) -->\n<script src=\"https:\/\/cdn.amcharts.com\/lib\/4\/themes\/animated.js\"><\/script>\n\n<!-- Optional: Add style to the container where the charts will render -->\n<style>\n \n<\/style>\n\n\n\n<div id=\"cause-death-posts\" class=\"cause-death-posts row\">\n                        <div class=\"cause-death-post col-md-4 \">\n\n\n                <div class=\"cause-expanded\">\n\n<div class=\"cause-close\">\nClose <i class=\"fa-solid fa-up-right-and-down-left-from-center\"> <\/i>\n\n<\/div>\n\n<div class=\"row tile-inner\">\n\n\n<div class=\"col-md-12\"> \n\n\n                    <h3> Neonatal Mortality <\/h3>\n                    <p class=\"tile-graph-title\">Percentage of neonatal deaths per site <\/p>\n\n\n\n<div id=\"chart-neonatal-mortality-2\"> <\/div>\n\n<p class=\"graph-source\"> Source: CHAMPS DeCoDe Panel<\/p>\n<p class=\"tile-short-blurb\"> <p>As of 2022 Sub-Saharan Africa had the highest rate of neonatal mortality with 27 deaths per 1000 live births with central and southern Asian having 21 deaths per 1000 live births. 75% of neonatal deaths occur within the first week of life; leading causes of death include premature birth, birth complications such as birth asphyxia\/trauma, infections, and congenital abnormalities. At the current rate of reduction 64 countries will still fall short of meeting the 2030 Sustainable Development Goals target to reduce neonatal mortality [1] .<\/p>\n <\/p>\n\n<div class=\"tile-buttons\">\n<button href=\"https:\/\/champshealth.org\/cause_death\/neonatal-mortality\/\" class=\"button\"> <a style=\"text-decoration: none\" href=\"https:\/\/champshealth.org\/cause_death\/neonatal-mortality\/\"> Learn More <\/a> <\/button>\n<a class=\"tile-meta-link\"> <i class=\"fa fa-download\"> <\/i> Download <\/a>\n    <a class=\"tile-meta-link\"> <i class=\"fa fa-share\"> <\/i> Share<\/a>\n\n<\/div>\n<style> \n<\/style>\n\n                <\/div>\n<div class=\"col-md-4 tile-meta\">\n\n\n\n <\/div>\n <\/div>\n                 <\/div>\n                <div class=\"col-inner\">\n                                    <div class= \"cause-expand\"> <i class=\"fa-solid fa-up-right-and-down-left-from-center\"><\/i><\/div>\n\n                <h2>Neonatal Mortality<\/h2>\n\n\n\n<div id=\"chart-neonatal-mortality\" class=\"chart-container\"><\/div>\n\n            <\/div>\n            <\/div>\n                    <div class=\"cause-death-post col-md-4 \">\n\n\n                <div class=\"cause-expanded\">\n\n<div class=\"cause-close\">\nClose <i class=\"fa-solid fa-up-right-and-down-left-from-center\"> <\/i>\n\n<\/div>\n\n<div class=\"row tile-inner\">\n\n\n<div class=\"col-md-12\"> \n\n\n                    <h3> Malnutrition <\/h3>\n                    <p class=\"tile-graph-title\">The effects of malnutrition on child mortality in developing countries. <\/p>\n\n\n\n<div id=\"chart-malnutrition-2\"> <\/div>\n\n<p class=\"graph-source\"> Source: CHAMPS DeCoDe Panel<\/p>\n<p class=\"tile-short-blurb\"> <p>The CHAMPS Network gathers cause of death data for stillbirths and children under 5 in seven countries across sub-Saharan Africa and South Asia. Between 2016 and 2022, 1,336 cases had their cause of death determined. Using WHO Child Growth Standards, 73.8% of cases showed moderate-to-severe malnutrition, with 56.4% suffering from severe malnutrition at death. Malnutrition was the underlying cause of death in 319 cases, a contributing factor in 426 cases, and an immediate cause in 2 cases. Among the 426 cases, 77 were linked to HIV-related wasting syndrome.<\/p>\n <\/p>\n\n<div class=\"tile-buttons\">\n<button href=\"https:\/\/champshealth.org\/cause_death\/malnutrition\/\" class=\"button\"> <a style=\"text-decoration: none\" href=\"https:\/\/champshealth.org\/cause_death\/malnutrition\/\"> Learn More <\/a> <\/button>\n<a class=\"tile-meta-link\"> <i class=\"fa fa-download\"> <\/i> Download <\/a>\n    <a class=\"tile-meta-link\"> <i class=\"fa fa-share\"> <\/i> Share<\/a>\n\n<\/div>\n<style> \n<\/style>\n\n                <\/div>\n<div class=\"col-md-4 tile-meta\">\n\n\n\n <\/div>\n <\/div>\n                 <\/div>\n                <div class=\"col-inner\">\n                                    <div class= \"cause-expand\"> <i class=\"fa-solid fa-up-right-and-down-left-from-center\"><\/i><\/div>\n\n                <h2>Malnutrition<\/h2>\n\n\n\n<div id=\"chart-malnutrition\" class=\"chart-container\"> <\/div>\n\n            <\/div>\n            <\/div>\n                    <div class=\"cause-death-post col-md-4 \">\n\n\n                <div class=\"cause-expanded\">\n\n<div class=\"cause-close\">\nClose <i class=\"fa-solid fa-up-right-and-down-left-from-center\"> <\/i>\n\n<\/div>\n\n<div class=\"row tile-inner\">\n\n\n<div class=\"col-md-12\"> \n\n\n                    <h3> Malaria <\/h3>\n                    <p class=\"tile-graph-title\">Number of deaths by site and proportion of deaths that had malaria anywhere in the causal chain. <\/p>\n\n\n\n<div id=\"chart-malaria-2\"> <\/div>\n\n<p class=\"graph-source\"> Source: CHAMPS Minimally Invasive Tissue Sampling (MITS)<\/p>\n<p class=\"tile-short-blurb\"> <p>The CHAMPS Network collects cause of death data for stillbirths and children under 5 across seven countries in sub-Saharan Africa and South Asia. Since 2016, 5,894 cases have been examined using Minimally Invasive Tissue Sampling (MITS), with 4,661 cases having a cause of death identified. Malaria-related deaths were concentrated in Sierra Leone, Kenya, Mozambique, and Mali, with just one case in South Africa. No malaria deaths were reported in Ethiopia or Bangladesh.<\/p>\n <\/p>\n\n<div class=\"tile-buttons\">\n<button href=\"https:\/\/champshealth.org\/cause_death\/malaria\/\" class=\"button\"> <a style=\"text-decoration: none\" href=\"https:\/\/champshealth.org\/cause_death\/malaria\/\"> Learn More <\/a> <\/button>\n<a class=\"tile-meta-link\"> <i class=\"fa fa-download\"> <\/i> Download <\/a>\n    <a class=\"tile-meta-link\"> <i class=\"fa fa-share\"> <\/i> Share<\/a>\n\n<\/div>\n<style> \n<\/style>\n\n                <\/div>\n<div class=\"col-md-4 tile-meta\">\n\n\n\n <\/div>\n <\/div>\n                 <\/div>\n                <div class=\"col-inner\">\n                                    <div class= \"cause-expand\"> <i class=\"fa-solid fa-up-right-and-down-left-from-center\"><\/i><\/div>\n\n                <h2>Malaria<\/h2>\n\n\n\n<div id=\"chart-malaria\" class=\"chart-container\"> <\/div><\/div>\n\n            <\/div>\n            <\/div>\n                    <\/div>\n\n<button id=\"load-more-cause-death\">Load More<\/button>\n<div id=\"loading\" style=\"display: none;\">Loading&#8230;<\/div>\n\n<script type=\"text\/javascript\">\ndocument.addEventListener('DOMContentLoaded', function() {\n    var paged = 2; \/\/ Start with page 2\n    var loadMoreButton = document.getElementById('load-more-cause-death');\n    var loadingIndicator = document.getElementById('loading');\n    \n    loadMoreButton.addEventListener('click', function() {\n        loadingIndicator.style.display = 'block';\n        \n        var xhr = new XMLHttpRequest();\n        xhr.open('POST', 'https:\/\/champshealth.org\/wp-admin\/admin-ajax.php', true);\n        xhr.setRequestHeader('Content-Type', 'application\/x-www-form-urlencoded; charset=UTF-8');\n        \n        xhr.onreadystatechange = function() {\n            if (xhr.readyState == 4 && xhr.status == 200) {\n                if (xhr.responseText == 'no_more_posts') {\n                    loadMoreButton.innerText = 'No More Posts';\n                    loadMoreButton.disabled = true;\n                } else {\n                    document.getElementById('cause-death-posts').insertAdjacentHTML('beforeend', xhr.responseText);\n                    paged++;\n                }\n                loadingIndicator.style.display = 'none';\n            }\n        };\n        \n        xhr.send('action=load_more_cause_death&paged=' + paged);\n    });\n});\n<\/script>\n\n\n<style>\n\n.tile-buttons {\n\n    display: flex;\n    justify-content: center;\n    gap: 20px;\n}\n            \n<\/style>\n\n\n\n\n<script>\n    const data = [\n        { country: \"Kenya\", total: 306, malaria: 96 },\n        { country: \"Sierra Leone\", total: 294, malaria: 126 },\n        { country: \"South Africa\", total: 292, malaria: 1 },\n        { country: \"Mozambique\", total: 198, malaria: 36 },\n        { country: \"Mali\", total: 60, malaria: 4 },\n        { country: \"Ethiopia\", total: 27, malaria: 0 },\n        { country: \"Bangladesh\", total: 6, malaria: 0 }\n    ];\n\n    function renderGraph(targetDiv) {\n        const svg = d3.select(targetDiv).append(\"svg\")\n            .attr(\"preserveAspectRatio\", \"xMinYMin meet\")\n            .attr(\"viewBox\", \"0 0 1000 650\")\n            .classed(\"svg-content-responsive\", true)\n                .attr(\"height\", \"350px\");\n;\n\n        let width = 1000;\n        let height = 650;\n        const squareSize = 15;\n        const maxSquaresInRow = 8;\n        const margin = { top: 50, right: 20, bottom: 40, left: 50 };\n\n        const xScale = d3.scaleBand()\n            .domain(data.map(d => d.country))\n            .range([margin.left, width - margin.right])\n            .paddingInner(0.3);\n\n        const yScale = d3.scaleLinear()\n            .domain([0, 320])\n            .range([height - margin.bottom, margin.top]);\n\n\nconst tooltip = d3.select(\"body\").append(\"div\")\n            .attr(\"class\", \"tooltip\")\n            .style(\"opacity\", 0)\n            .style(\"position\", \"absolute\")\n            .style(\"background\", \"lightsteelblue\")\n            .style(\"padding\", \"5px\")\n            .style(\"border-radius\", \"5px\");\n        data.forEach((d) => {\n            const totalCases = d.total;\n            const malariaCases = d.malaria;\n            const nonMalariaCases = totalCases - malariaCases;\n            const malariaPercentage = ((malariaCases \/ totalCases) * 100).toFixed(1);\n\n            let malariaCount = 0;\n\n            for (let i = 0; i < malariaCases; i++) {\n                const col = i % maxSquaresInRow;\n                const row = Math.floor(i \/ maxSquaresInRow);\n\n                svg.append(\"rect\")\n                    .attr(\"class\", \"square\")\n                    .attr(\"x\", xScale(d.country) + (col * squareSize))\n                    .attr(\"y\", height - margin.bottom - ((row + 1) * squareSize))\n                    .attr(\"width\", squareSize)\n                    .attr(\"height\", squareSize)\n                    .attr(\"fill\", \"#00334e\")\n                                        .attr(\"data-original-color\", \"#00334e\")\n\n                    .attr(\"opacity\", 0)\n                    .transition()\n                    .delay(i * 10)\n                    .duration(200)\n                    .attr(\"opacity\", 1);\n\n                malariaCount++;\n            }\n\n            for (let i = 0; i < nonMalariaCases; i++) {\n                const col = (malariaCount + i) % maxSquaresInRow;\n                const row = Math.floor((malariaCount + i) \/ maxSquaresInRow);\n\n                svg.append(\"rect\")\n                    .attr(\"class\", \"square\")\n                    .attr(\"x\", xScale(d.country) + (col * squareSize))\n                    .attr(\"y\", height - margin.bottom - ((row + 1) * squareSize))\n                    .attr(\"width\", squareSize)\n                    .attr(\"data-original-color\", \"#90c3d4\")\n\n                    .attr(\"height\", squareSize)\n                    .attr(\"fill\", \"#90c3d4\")\n                    .attr(\"opacity\", 0)\n                    .transition()\n                    .delay((malariaCount + i) * 5)\n                    .duration(200)\n                    .attr(\"opacity\", 1);\n            }\n\n            svg.append(\"text\")\n                .attr(\"class\", \"label\")\n                .attr(\"x\", xScale(d.country) + (xScale.bandwidth() \/ 2))\n                .attr(\"y\", margin.top - 20)\n                .text(`${malariaPercentage}%`);\n        });\n\n        svg.append(\"g\")\n            .attr(\"transform\", `translate(0,${height - margin.bottom})`)\n            .call(d3.axisBottom(xScale));\n\n        svg.append(\"g\")\n            .attr(\"transform\", `translate(${margin.left},0)`)\n            .call(d3.axisLeft(yScale)\n                .tickValues([0, 80, 160, 240, 320])\n                .tickFormat(d3.format(\"d\")));\n   \n\n            svg.selectAll(\".square\")\n                .on(\"mouseover\", function(event, d) {\n                    d3.select(this).attr(\"fill\", \"orange\");  \/\/ Change color on hover\n                    tooltip.transition().duration(200).style(\"opacity\", .9);  \/\/ Show tooltip\n                    tooltip.html(d.country + \"<br\/>\" + \"Malaria: \" + d.malaria)\n                        .style(\"left\", (event.pageX + 5) + \"px\")\n                        .style(\"top\", (event.pageY - 28) + \"px\");\n                })\n                .on(\"mousemove\", function(event) {\n                    \/\/ Keep the tooltip following the mouse\n                    tooltip.style(\"left\", (event.pageX + 5) + \"px\")\n                        .style(\"top\", (event.pageY - 28) + \"px\");\n                })\n                .on(\"mouseout\", function() {\n                    d3.select(this).attr(\"fill\", d3.select(this).attr(\"data-original-color\"));  \/\/ Revert color on mouseout\n                    tooltip.transition().duration(500).style(\"opacity\", 0);  \/\/ Hide tooltip\n                });\n        \n\n    }\n\n\n\n    \/\/ Initial render in the first div\n    renderGraph(\"#chart-malaria\");\n\n\n<\/script>\n<!-- Include core amCharts library -->\n<script src=\"https:\/\/cdn.amcharts.com\/lib\/5\/xy.js\"><\/script>\n<script src=\"https:\/\/cdn.amcharts.com\/lib\/5\/themes\/Animated.js\"><\/script>\n    <script src=\"https:\/\/cdn.amcharts.com\/lib\/5\/percent.js\"><\/script>\n\n<!-- Container for the chart -->\n\n\n\n\n<script>\n  am5.ready(function () {\n\n    \/\/ Define chart configuration inside a reusable function\n    function createChart(containerId) {\n      \/\/ Create root element\n      var root = am5.Root.new(containerId);\n\n      \/\/ Set themes\n      root.setThemes([am5themes_Animated.new(root)]);\n\n      \/\/ Create chart\n      var chart = root.container.children.push(am5xy.XYChart.new(root, {\n        panX: true,\n        panY: true,\n        wheelX: \"panX\",\n        wheelY: \"zoomX\",\n        pinchZoomX: true,\n        paddingLeft: 0,\n        paddingRight: 1\n      }));\n\n      \/\/ Add cursor\n      var cursor = chart.set(\"cursor\", am5xy.XYCursor.new(root, {}));\n      cursor.lineY.set(\"visible\", false);\n\n      \/\/ Create X-axis\n      var xRenderer = am5xy.AxisRendererX.new(root, { \n        minGridDistance: 30, \n        minorGridEnabled: true\n      });\n\n      xRenderer.labels.template.setAll({\n        rotation: 0,\n        centerY: am5.p50,\n        centerX: am5.p100,\n        paddingRight: 15\n      });\n\n      xRenderer.grid.template.setAll({\n        location: 1\n      });\n\n      var xAxis = chart.xAxes.push(am5xy.CategoryAxis.new(root, {\n        maxDeviation: 0.3,\n        categoryField: \"country\",\n        renderer: xRenderer,\n        tooltip: am5.Tooltip.new(root, {})\n      }));\n\n      \/\/ Set small font size and prevent overlap by rotating labels\n      xAxis.get(\"renderer\").labels.template.setAll({\n        fontSize: \"8px\",\n        rotation: -45,\n        centerY: am5.p50,\n        centerX: 0,\n      });\n\n      \/\/ Create Y-axis\n      var yRenderer = am5xy.AxisRendererY.new(root, {\n        strokeOpacity: 0.1\n      });\n\n      var yAxis = chart.yAxes.push(am5xy.ValueAxis.new(root, {\n        maxDeviation: 0.3,\n        renderer: yRenderer\n      }));\n\n      \/\/ Create series\n      var series = chart.series.push(am5xy.ColumnSeries.new(root, {\n        name: \"Series 1\",\n        xAxis: xAxis,\n        yAxis: yAxis,\n        valueYField: \"value\",\n        sequencedInterpolation: true,\n        categoryXField: \"country\",\n        tooltip: am5.Tooltip.new(root, {\n          labelText: \"{valueY}\"\n        })\n      }));\n\n      \/\/ Set columns appearance\n      series.columns.template.setAll({ \n        cornerRadiusTL: 5, \n        cornerRadiusTR: 5, \n        strokeOpacity: 0 \n      });\n\n      \/\/ Add color adapters\n      series.columns.template.adapters.add(\"fill\", function (fill, target) {\n        return chart.get(\"colors\").getIndex(series.columns.indexOf(target));\n      });\n\n      series.columns.template.adapters.add(\"stroke\", function (stroke, target) {\n        return chart.get(\"colors\").getIndex(series.columns.indexOf(target));\n      });\n\n      \/\/ Set data\n      var malnutritionData = [\n        { country: \"Underweight\", value: 90.3 },\n        { country: \"Stunted\", value: 60.1 },\n        { country: \"Wasting\", value: 82.8 },\n        { country: \"Low MUACZ\", value: 76.7 },\n        { country: \"Infectious Diseases\", value: 93.5 },\n        { country: \"Preventable Deaths\", value: 92.3 }\n      ];\n\n      xAxis.data.setAll(malnutritionData);\n      series.data.setAll(malnutritionData);\n\n      \/\/ Make stuff animate on load\n      series.appear(1000);\n      chart.appear(1000, 100);\n    }\n\n    \/\/ Render the chart in two different divs\n    createChart(\"chart-malnutrition\");\n    createChart(\"chart-malnutrition-2\");\n\n  }); \/\/ end am5.ready()\n<\/script>\n\n\n<script>\n  am5.ready(function () {\n    \/\/ Define chart configuration\n    function createChart(containerId) {\n      \/\/ Create root element\n      var root = am5.Root.new(containerId);\n\n      \/\/ Set themes\n      root.setThemes([am5themes_Animated.new(root)]);\n\n      \/\/ Create chart\n      var chart = root.container.children.push(\n        am5xy.XYChart.new(root, {\n          panX: true,\n          panY: true,\n          wheelX: \"panX\",\n          wheelY: \"zoomX\",\n          layout: root.verticalLayout,\n        })\n      );\n\n      \/\/ Create X-Axis (Category Axis for countries)\n      var xAxis = chart.xAxes.push(\n        am5xy.CategoryAxis.new(root, {\n          categoryField: \"country\",\n          renderer: am5xy.AxisRendererX.new(root, {\n            minGridDistance: 20,\n          }),\n          tooltip: am5.Tooltip.new(root, {}),\n        })\n      );\n\n      \/\/ Set small font size and prevent overlap by rotating labels\n      xAxis.get(\"renderer\").labels.template.setAll({\n        fontSize: \"12px\",  \/\/ Smaller font size\n        rotation: -45,     \/\/ Rotate labels for better fit\n        centerY: am5.p50,  \/\/ Center the labels vertically\n        centerX: 0,        \/\/ Align labels with tick marks\n      });\n\n      xAxis.data.setAll([\n        { country: \"South Africa\" },\n        { country: \"Mozambique\" },\n        { country: \"Kenya\" },\n        { country: \"Bangladesh\" },\n        { country: \"Sierra Leone\" },\n        { country: \"Ethiopia\" },\n        { country: \"Mali\" },\n      ]);\n\n      \/\/ Create Y-Axis (Value Axis for percentage)\n      var yAxis = chart.yAxes.push(\n        am5xy.ValueAxis.new(root, {\n          renderer: am5xy.AxisRendererY.new(root, {}),\n        })\n      );\n\n      \/\/ Create series\n      var series = chart.series.push(\n        am5xy.ColumnSeries.new(root, {\n          name: \"Percentage\",\n          xAxis: xAxis,\n          yAxis: yAxis,\n          valueYField: \"percentage\",\n          categoryXField: \"country\",\n          tooltip: am5.Tooltip.new(root, {\n            labelText: \"{categoryX}: {valueY}%\",\n          }),\n        })\n      );\n\n      \/\/ Set data\n      series.data.setAll([\n        { country: \"South Africa\", percentage: 31 },\n        { country: \"Mozambique\", percentage: 21 },\n        { country: \"Kenya\", percentage: 12 },\n        { country: \"Bangladesh\", percentage: 12 },\n        { country: \"Sierra Leone\", percentage: 10 },\n        { country: \"Ethiopia\", percentage: 8 },\n        { country: \"Mali\", percentage: 5 },\n      ]);\n\n      \/\/ Animate on load\n      series.appear(1000);\n      chart.appear(1000, 100);\n    }\n\n    \/\/ Render the chart in two divs\n    createChart(\"chart-neonatal-mortality\");\n    createChart(\"chart-neonatal-mortality-2\");\n  }); \/\/ end am5.ready()\n<\/script>\n\n\n<style> \n\n\n<\/style>\n<script type=\"text\/javascript\">\n(function($) {\n    \/\/ Move chart and re-render on button click using jQuery\n    $(document).on('click', '.cause-expand', function() {\n        \/\/ Show the expanded section\n        $(this).parent().parent().find('.cause-expanded').show();\n\n        \/\/ Get the containing div for the clicked cause-expand\n        var container = $(this).parent().find('.chart-container');  \/\/ Use a common container class if needed\n        console.log(container);\n        \/\/ Check if the container is for a D3 chart or AmCharts chart\n        if (container.attr('id') === 'chart-malaria') {\n\n\n            \/\/ If the container is for the D3 chart, use renderGraph\n            var popupGraph = container.parent().parent().find('#chart-malaria-2');\n            console.log(popupGraph);\n            var graphTarget = popupGraph.get(0);\n            renderGraph(graphTarget);\n        } else {\n            \/\/ If it's for an AmCharts graph, initialize AmCharts graph\n            var chartId = container.parent().parent().find('#popup-graph');  \/\/ Assuming AmCharts graphs have a class or id\n            if (chartId) {\n                \/\/ You can initialize your AmCharts graph here. For example:\n                \/\/ Assuming chart is stored in a variable called 'amChart\n\n                var html = $(container).html();\n                console.log(html);\n\n                chartId.innerHTML = html;\n            }\n        }\n    });\n\n        $(document).on('click', '.cause-close', function() {\n\n            $('.cause-expanded').hide();\n    });\n\n})(jQuery);\n<\/script>\n<style type=\"text\/css\">\n    \n.tile-inner button {\n\n    background-color: white;\n      border:  1px solid #5E5D5B;\n      display: block;\n      font-size: 14px!important;\n      padding: 8px;\n      border-radius: 0!important;\n\n}\n\n.tile-inner button:hover {\n\n    color:white!important;\nbackground-color: #5E5D5B ;\n}\n\n\n.tile-inner button:hover a{\n\n    color:white!important;\nbackground-color: #5E5D5B ;\n}\n.tile-inner button a {\n      font-size: 14px!important;\ncolor: #5E5D5B;\n\n}\n\n\n.tile-inner button a:hover {\n      font-size: 14px!important;\ncolor:white!important;\nbackground-color: #5E5D5B;\n}\n\n<\/style><\/div><\/div>\n\n\n\n<div class=\"wp-block-group pad-5\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center fade-in-down-stagger has-text-color has-link-color has-medium-font-size wp-elements-29de0f66ec199ddbeb754ef107265732\" style=\"color:#4c9e45\">OUR DATA<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center fade-in-down-stagger\">Four Levels of Data Access<\/h2>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n\n\n<style type=\"text\/css\">\n    \n\n\n   #myTab button {\n\n        color: black!important;\n        text-align: left;\n        text-transform: none;\n        font-weight: 300;\n    }\n\n#myTab .nav-link.active {\n    font-weight: 600;\n}\n    .btn-primary1 {\n\n        background: #93d500;\n        font-family: Lato;\n        font-weight: 300;\n        color: black;\n        padding: 12px 25px;\n        text-decoration: none;\n        border-radius: 5px;\n        margin-top: 30px;\n        display: block;\n        width: fit-content;\n    }\n\n       .btn-primary1:hover {\n\n        background: #4c9c2e;\n        color: white;\n       }\n<\/style><\/div><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OUR DATA Turning Insights into Action These data provide summaries of the CHAMPS-eligible and enrolled cases across all surveillance sites, offering a clear understanding of child mortality causes. Causes of death are categorized by CHAMPS\u2019 site, etiology, CHAMPS mortality categories, age group, and other filters. Causes of death can be viewed by all causes or [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/champshealth.org\/the-power-of-data\/\">Read More&#8230;<span class=\"screen-reader-text\"> from The Power of Data<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-882","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/pages\/882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/comments?post=882"}],"version-history":[{"count":31,"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/pages\/882\/revisions"}],"predecessor-version":[{"id":3297,"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/pages\/882\/revisions\/3297"}],"wp:attachment":[{"href":"https:\/\/champshealth.org\/wp-json\/wp\/v2\/media?parent=882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}