Fork of Fork of Olympic Data stacked Bar Graph
✓ Published0🌍 Public
A stacked bar chart visualizes a subset of Olympic student performance data, plotting gender-race/ethnicity combinations against stacked score components for math, parental education level, and writing. The visualization uses D3.js v7’s `d3.stack()` with a diverging offset, `d3.scaleBand` for the categorical x-axis, and `d3.scaleLinear` for the y-axis, rendered as SVG rectangles. Data is loaded via `d3.csv` from a GitHub gist, sorted and truncated to the top 20 entries, with axes, rotated labels, and a legend created through D3’s axis and selection APIs.
AI-generated descriptionMIT Licensed