Activity6
✓ Published0🌍 Public
This stacked bar chart shows the distribution of IMDb ratings across six film genres, with each bar segment representing a rating range from "below 5.0" to "above 8.5" as a percentage. The visualization uses D3.v7’s `d3.stack()` to compute the stacked series, `d3.scaleBand` and `d3.scaleLinear` for axes, and `d3.scaleOrdinal` for segment colors. Interactive tooltips display exact percentages on mouseover, and the chart loads data from a CSV file.
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