Activity6_Task 2
✓ Published0🌍 Public
A stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, using five rating brackets from below 5.0 to above 8.5. The chart uses `d3.stack()` to compute stacked series, `d3.scaleOrdinal` for color encoding, and `d3.scaleBand` for the categorical genre axis. Hovering over a segment reveals the exact percentage via a tooltip. Data comes from a local CSV file, rendered as SVG with D3 v7.
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