🌍 Public
Viewing a saved revision (read-only)
9514c9b58a9d496b8e36562b20f9b3cc
Activity6_Task2
This stacked bar chart shows the percentage distribution of IMDb rating categories across six movie genres, revealing how genre influences audience scores. Each genre’s bar is divided into five rating segments, from “below 5.0” to “above 8.5,” with hover tooltips displaying exact percentages. The visualization uses D3 v7’s `d3.stack()` for data stacking, `d3.scaleLinear` and `d3.scaleBand` for axes, and SVG rendering. Data comes from a CSV file, with a custom tooltip providing interactive detail on mouseover.
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.