Fork of HTML Starter
✓ Published0🌍 Public
This stacked bar chart visualizes music genre preferences across five age groups, using percentages from a CSV dataset. Each bar represents a genre, segmented into colored sections by age bracket. The visualization uses D3 v7 with `d3.stack()` for data stacking, `d3.scaleLinear()` and `d3.scaleBand()` for scales, and SVG rendering. Interactive tooltips display exact percentage values on hover, while a legend identifies the color encoding for each age group.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed