Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project_SDV_33

Public visualization

Viewing a saved revision (read-only)

52f6889981a54f2b9cb66c0288542303

Project_SDV_33

0 stars0🌍 Public
PPadmajaKodati@my.unt.edu
Last edited Apr 24, 2024
Created on Apr 24, 2024

A horizontal stacked bar chart ranks the top 10 most populous countries by total population, with each bar segmented by land area categories. A linked categorical color legend allows hovering to highlight and fade corresponding segments. The visualization uses D3.js APIs including `flatRollup`, `stack`, `scaleLinear`, and `scaleBand` for data aggregation and layout. The responsive design uses `observeResize`, while `colorLegend` functions handle interactive highlighting. Data comes from the `religionByCountryTop20.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.