Skip to main content
100%

Religion by Country

✓ Published1🌍 Public
Hhimavinaytummala@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024

This stacked bar chart displays the estimated religious composition of the 20 most populous countries in 2010, based on data from the Pew Research Center's Global Religious Landscape. Each bar represents a country, segmented by religion, with population measured in millions. Hovering over a legend item highlights that religion across all countries while fading the others. The visualization uses d3's `scaleOrdinal` and `schemeCategory10` for colors, `flatRollup` and `stack` for data structuring, and a custom `colorLegend` for interaction.

AI-generated description

Stacked 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

Similar vizzes