🌍 Public
Viewing a saved revision (read-only)
e8328721bef449bd85e2e4109adfb49b
activity 6_Task 2
This interactive stacked bar chart shows quarterly sales for Nike, Puma, and Adidas, with each company as a horizontal bar segmented by financial quarter (Q1–Q4). The visualization uses d3.stack() to create stacked data, d3.scaleBand and d3.scaleLinear for positioning, and d3.axisLeft/axisBottom for axes. A tooltip displays the quarter and total sales on hover. Data comes from an embedded CSV file, rendered as SVG with a color-coded legend for each quarter.
AI-generated description