Activity06_Task02
✓ Published1🌍 Public
A stacked horizontal bar chart displays the distribution of IMDb movie ratings across six genres, with each bar segment representing a rating bracket from "below 5.0" to "above 8.5." The visualization uses D3 v7's `d3.stack()` to compute stacked series from CSV data, `d3.scaleOrdinal` for color mapping, and `d3.scaleBand` for the categorical y-axis. Hover interactions trigger a tooltip showing the exact percentage for each genre-rating combination, rendered as SVG with axes formatted via `d3.axisLeft` and `d3.axisBottom`.
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