Activity 8 - Task 2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of IMDb ratings across six movie genres, revealing how drama and comedy skew toward middle ratings while action films cluster at lower scores. The visualization uses D3 v7 with SVG rendering, employing `d3.stack()` to compute stacked series from CSV data and `d3.scaleOrdinal` for categorical coloring. Hover interactions display percentage values via a custom HTML tooltip, with axes created using `d3.axisBottom` and `d3.axisLeft`.
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