Viewing a saved revision (read-only)
8ae5c671a1574b649cabbe0a1f95737e
Horizontal bar chart that represents the population of various countries in millions.
This horizontal bar chart shows the populations of various countries in millions, sorted from smallest at the top to largest at the bottom. The bars are stacked to display the estimated religious breakdown of each country for 2010, with a legend that highlights individual religions on hover. It uses d3’s `scaleOrdinal` for color encoding, `scaleLinear` and `scaleBand` for axes, and `stack` for the stacked layout. Data comes from the Pew Research Center’s Global Religious Landscape, processed via a script and rendered using `@curran/responsive-axes` for chart anatomy.
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.