Skip to main content
100%

task8 Q2 1

✓ Published0🌍 Public
Ssruthimreddy6@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This visualization shows the estimated religious breakdown of the 20 most populous countries in 2010, using stacked bars where each segment represents a religion’s population. The chart uses D3’s `stack()` and `flatRollup()` to structure the data, with `scaleOrdinal` and `schemeCategory10` for colors. Hovering over the color legend highlights that religion across all bars via `mouseenter` and `mouseleave` events, dimming other segments. Data originates 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.

MIT Licensed

Similar vizzes