🌍 Public
Viewing a saved revision (read-only)
7b37499fe88848d2a09ccc6ff3a27223
Activity-8_Question-2
This example presents a stacked bar chart that visualizes product sales (productA, productB, productC) across four regions (North, South, East, West). It uses D3 v7 to load a CSV file, stack the data, and render SVG bars with a categorical color scale. The chart includes axes for region and sales totals, and a legend identifying each product's contribution to the stack.
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.