Activity-6 Task-2
✓ Published0🌍 Public
This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, showing the percentage of titles falling into five rating bands from below 5.0 to above 8.5. The visualization uses D3 v7 to load CSV data and render an SVG, with `d3.stack()` for data transformation, `d3.scaleOrdinal` for color encoding, and `d3.scaleBand` for the categorical y-axis. Interactive tooltips display exact percentages on hover, implemented through D3 event handlers.
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