activity6_question2_11719493
✓ Published0🌍 Public
A horizontal stacked bar chart visualizes total sales distribution across five product categories for five regions, using D3.js v7 with an SVG rendering approach. The chart reads data from sales_data.csv, with each bar segment colored by category via d3.scaleOrdinal. Axis formatting employs d3.axisLeft and d3.axisBottom, while two legends display category colors and region colors. The visualization clearly compares regional sales totals and category contributions, with Central region significantly lower than others.
AI-generated descriptionMIT Licensed