Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Interactive Stacked Bar Chart

Public visualization

Viewing a saved revision (read-only)

9475d98c1ca34c2f9a52bf51f401a7f1

Fork of Fork of Interactive Stacked Bar Chart

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

This stacked bar chart displays population estimates for the world's most populous countries, segmented by religion for the year 2010. Hovering over the color legend highlights the corresponding segments across all bars. Built with D3.js, it uses `scaleOrdinal` for colors and `stack` for the bar aggregation. The data comes from a Pew Research report, processed and loaded from a CSV file.

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.

//<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/lAOgD_udvTw?si=IcgXd8VRMcC2QaGd" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>