Fork of Interactive Stacked Bar Chart
This stacked bar chart visualizes the estimated religious breakdown of the 20 most populous countries in 2010, with each bar showing population in millions segmented by religion. Hovering over the legend highlights a specific religion across all countries, fading non-selected segments. The visualization uses d3.flatRollup and d3.stack to structure the data, with d3.scaleOrdinal and d3.schemeCategory10 for colors. Population data comes from the Pew Research Center's Global Religious Landscape report.
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.