Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Stacked Bar Chart

Public visualization

Fork of Interactive Stacked Bar Chart

0 stars0🌍 Public
OOuufi2444@gmail.com
Last edited May 11, 2024
Created on May 11, 2024

This stacked bar chart visualizes the estimated religious composition of the world’s 20 most populous countries in 2010, sized by population in millions. Hovering over the legend highlights the corresponding religion across all bars while fading others. The visualization uses D3’s `scaleOrdinal`, `scaleLinear`, `scaleBand`, and `stack` APIs, with interactive legend handling and 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.

Comments

Sign in to join the discussion.

MIT Licensed