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 stars1🌍 Public
Mmaheshchowdaryponnaganti@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024

This stacked bar chart visualizes the estimated religious composition of the 20 most populous countries in 2010, with each bar segmented by religion and colored accordingly. Hovering over a legend entry highlights that religion across all countries while fading others, using D3’s `scaleOrdinal` and `schemeCategory10` for color mapping and `stack()` for bar construction. The visualization also employs `flatRollup` to aggregate data and `scaleBand` for country positioning, with 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