Skip to main content
100%

Horizontal bar chart that represents the population of various countries in millions.

✓ Published1🌍 Public

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 description

Graph Overview

Type: Horizontal Bar Chart Purpose: Displays the population of various countries measured in millions. Orientation: Countries with smaller populations are at the top, and those with larger populations are at the bottom.

Stacked bars showing estimated religion breakdown of the most populous 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

Similar vizzes