question 2 stacked bar chart
✓ Published0🌍 Public
This stacked bar chart shows sales by product category (Clothing, Equipment, Accessories) across five store locations, with each bar segment proportional to category revenue. Built with D3 v7, it uses `d3.stack()` to process the CSV data and `d3.scaleBand` and `d3.scaleLinear` for the axes. The SVG rendering includes interactive tooltips on mouseover and a custom color scale using `d3.scaleOrdinal`. The dataset comes from an embedded CSV file, and the chart features labeled axes and a legend.
AI-generated descriptionIMBD movie ratings
MIT Licensed