Activity 6_Task 2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of movie ratings across genres, with each genre broken into five rating categories from “below 5.0” to “above 8.5” using percentage proportions. The visualization uses D3 v7’s `d3.stack` to compute stacked bars, `d3.scaleOrdinal` for color coding, and `d3.scaleBand` for the y-axis genres. It loads data from a local `data.csv` file and renders as SVG, with mouseover tooltips revealing exact percentages.
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