Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Interactive Stacked Bar Chart

Public visualization

Viewing a saved revision (read-only)

12a916f5086744858e6a9a291d0fe2fa

Fork of Fork of Fork of Fork of Interactive Stacked Bar Chart

0 stars1🌍 Public
DDivyaKota2@my.unt.edu
Last edited Apr 26, 2024
Created on Apr 26, 2024

This stacked bar chart shows the estimated breakdown of the 20 most populous countries by continent and population in 2010, using Pew Research data. The visualization highlights the distribution of population across continents with each bar segment representing a continent’s contribution. Hovering over the legend highlights the corresponding religion in the bars, dimming others. The chart uses D3’s `flatRollup`, `stack`, and `scaleBand` for layout, with the `colorLegend` module managing interactive legend hover effects and opacity fading.

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.