🌍 Public
Viewing a saved revision (read-only)
daf3155e589a4b2e9ff33ef2bf0f0796
Activity6_Task2
This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, showing the proportion of films in each rating category. The horizontal bars represent genres, while segments show percentages for rating brackets below 5.0 through above 8.5. A hover interaction reveals precise percentage values via tooltips. Built with d3.v7, the chart uses `d3.stack()` for cumulative data, `d3.scaleOrdinal()` for color encoding, and SVG rendering for all graphical elements.
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.