🌍 Public
Viewing a saved revision (read-only)
d27f1b3e0d44499fb92b8c252ddd7d72
Activity 6_Task 2 Question
This stacked bar chart shows the percentage distribution of sales across four product categories—Books, Toys, Kitchenware, and Sports—broken down by the North, South, East, and West regions. Using d3.stack and d3.scaleOrdinal, the SVG visualization groups color-coded segments for each region, with axes formatted as percentages and a legend identifying region colors. The data comes from a hardcoded JavaScript array, rendered with d3.axisBottom and d3.axisLeft, and includes interactive tooltips via appended title elements.
AI-generated description