Activity8-Task2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating brackets from “below 5.0” to “above 8.5.” The visualization uses D3 v7’s `d3.stack()` to compute the stacked segments, `d3.scaleBand` for the genre categories, and `d3.scaleLinear` for the percentage axis. Hovering over a segment reveals a tooltip with the exact percentage for that rating range. Data comes from a local CSV file, and the chart is rendered as SVG with custom styling.
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