🌍 Public
Fork of Interactive Stacked Bar Chart
This stacked bar chart shows the estimated religious breakdown of the 20 most populous countries in 2010. Hovering over a religion in the legend highlights that religion's segments across all countries while fading the others. The chart uses `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to map data from a CSV file derived 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.
MIT Licensed
Comments
Sign in to join the discussion.