Skip to main content
100%

question 2 stacked bar chart

✓ Published0🌍 Public
Mmanohar varma
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

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 description

IMBD movie ratings

MIT Licensed

Similar vizzes