🌍 Public
Viewing a saved revision (read-only)
04db03e29e24463aa11e7591693c6906
Man SDV Activity6_Task2
This stacked bar chart displays sales performance across five product categories—Electronics, Clothing, Books, Furniture, and Toys—for four regions (North, South, East, West), with percentages derived from the CSV dataset. The visualization uses D3.js v7 to render an SVG, employing d3.stack() to compute stacked series, d3.scaleOrdinal for category colors, and d3.scaleBand with d3.scaleLinear for axes. Interactive tooltips show exact category percentages on mouseover, while hover effects change bar opacity, and a legend identifies each category.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.