Skip to main content
100%

Fork of Interactive Stacked Bar Chart

✓ Published1🌍 Public
Mmartipau@iu.edu
Last edited May 4, 2024
Created on May 4, 2024

This stacked bar chart illustrates the estimated religious composition of the 20 most populous countries in 2010, with each bar segment colored by religious affiliation and scaled by population in millions. Users can hover over the color legend to highlight a specific religion across all countries, applying a fade effect to unrelated segments and raising the hovered stack to the front. Built with D3.js, it uses `flatRollup`, `stack`, `scaleBand`, and `scaleLinear` to structure and position the data, sourced from the Pew Research Center’s Global Religious Landscape report.

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