Activity 6 Task 2 Q2
✓ Published0🌍 Public
This stacked bar chart displays sales figures for three products (A, B, and C) across four regions (North, South, East, West). Each horizontal bar represents a region, segmented proportionally to product values, with hover tooltips revealing exact numbers. Built with plain JavaScript and DOM manipulation, the chart uses CSS flexbox for layout and includes hardcoded data arrays and color mappings, with no external visualization libraries.
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.
MIT Licensed