Q1Task2
✓ Published0🌍 Public
A horizontal stacked bar chart displays the proportional breakdown of five rating categories for six named categories, sourced from a local CSV. The implementation uses D3 v7's `d3.stack` and `d3.scaleOrdinal` to generate SVG rectangles, with `d3.axisBottom` and `d3.axisLeft` for scales. Hover interactions reveal per-segment percentages via an HTML tooltip, while a color scale and axis labels clarify the distribution.
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