Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Stacked Bar Chart

Public visualization

Viewing a saved revision (read-only)

e49133238ff14332a00857f1f5cd4ca1

Fork of Interactive Stacked Bar Chart

0 stars6🌍 Public
Aabasilet@purdue.edu
Last edited Apr 24, 2024
Created on Apr 24, 2024

This stacked bar chart shows the estimated religious breakdown of the 20 most populous countries in 2010. Hovering over a religion in the legend highlights that religion's segments across all countries while fading the others. The chart uses `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to map data from a CSV file derived 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.