🌍 Public
Viewing a saved revision (read-only)
07b138bd344249ca8ff3a32204aba663
A7-Q2
This stacked area chart displays the proportional distribution of IMDb ratings across six movie genres. The visualization reveals how genre influences rating patterns, showing that documentaries have a notably higher percentage of high ratings while action films skew toward lower scores. Hovering reveals exact percentage values in pop-ups, with each genre's total summing to 100%. Built with d3.v7, the chart uses `d3.area()` with `d3.curveBasis` for smooth curves, `d3.scaleBand` and `d3.scaleLinear` for axes, and `d3.csv()` to parse the data. The SVG output includes a legend and rotated genre labels.
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.