Skip to main content
100%

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

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

This stacked bar chart displays the total COVID-19 cases per continent against population, using a categorical color scale to distinguish continents. A linked legend allows hovering to highlight a specific continent’s bars while dimming others. The visualization uses D3’s `flatRollup` and `stack` to structure data, `scaleBand` and `scaleLinear` for axes, and responsive resizing via `@curran/responsive-axes`. Data is loaded from a local CSV file containing population and case counts.

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