Skip to main content
100%

Question 3

✓ Published0🌍 Public
GGangumalla Ruchitha Reddy
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This stacked bar chart shows the sales performance of six products—Laptop, Smartphone, Tablet, Headphones, Smartwatch, and Camera—across five regions (North, South, East, West, Central). The x-axis represents dollar amounts as a percentage, and the y-axis lists product categories. Built with D3 v7, it uses `d3.stack()` to generate stacked series, `d3.scaleBand` for the y-axis, and `d3.axisBottom` for the x-axis. Mouseover interactions display tooltips showing each region’s percentage contribution. Data comes from an inline CSV file loaded via `d3.csv`.

AI-generated description

the sales performance of various products across different regions with specific product names

MIT Licensed

Similar vizzes