Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Olympic Data stacked Bar Graph

Public visualization

Viewing a saved revision (read-only)

b3a6170e6ded4a50ab3d7f0bc653464b

Olympic Data stacked Bar Graph

1 star1🌍 Public
AAkanksha
Last edited Apr 16, 2024
Created on Apr 5, 2024

This stacked bar chart displays Olympic medal counts by country, with each bar segmented into Gold, Silver, and Bronze using a D3 ordinal color scale. Hovering over the interactive side legend highlights the corresponding medal segment across all bars while dimming others. The visualization relies on D3's `flatRollup` and `stack` utilities for data aggregation and stacking, with axes generated by the `@curran/responsive-axes` library.

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.