Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Olympic Data stacked Bar Graph

Public visualization

Viewing a saved revision (read-only)

6637871a2e884f83b045c062e1dfba86

Fork of Fork of Olympic Data stacked Bar Graph

0 stars0🌍 Public
MM
Last edited Apr 10, 2024
Created on Apr 10, 2024

This stacked bar chart visualizes population data for U.S. states, with each bar segmented by color to show the proportional contribution of different data categories. The visualization uses a horizontal layout where bar lengths are scaled linearly against population values. Built with the d3 library, the chart employs `scaleLinear`, `scaleBand`, `stack`, and `flatRollup` to process and arrange the data. The color legend supports interactive hover effects, allowing viewers to highlight specific categories within the stacked bars. Data comes from a CSV file loaded directly from a GitHub gist.

AI-generated description