Skip to main content
100%

Untitled

✓ Published1🌍 Public
CCo10
Last edited Sep 25, 2020
Created on Sep 25, 2020
Forked from HTML Starter

This stacked bar chart displays eye color frequencies across four hair color categories. The visualization uses d3.csv to load the dataset, d3.stack() to compute stacked segments, and d3.scaleBand/d3.scaleLinear for axes. Each bar segment is colored via a d3.scaleOrdinal palette, with a legend added in the second implementation. The SVG rendering relies on d3.axisBottom, d3.axisLeft, and nested data joins to append rectangles per subgroup.

AI-generated description
MIT Licensed

Similar vizzes