Fork of Interactive Stacked Bar Chart
This interactive radial stacked bar chart displays the estimated religious breakdown of the most populous 20 countries in 2010, based on data from the Pew Research Center. Users can select a country from a dropdown menu to view its population distribution across six religious categories, with hover interactions on the legend highlighting specific religions. Built with D3.js, the visualization uses `scaleBand` and `scaleRadial` to map religions to angular segments and population to radial distances, while `d3.stack` processes the grouped data for layered arcs rendered as SVG paths with animated transitions.
AI-generated descriptionStacked bars showing estimated religion breakdown of the most populous 20 countries in 2010. Based on an example from the tutorial Splitting Charts. Interactions:
- Hover over the legend to highlight religions.
Data is from The Global Religious Landscape by Pew Research, generated using this processing script.