🌍 Public
Viewing a saved revision (read-only)
f596292526e14466ae045cffbf4455af
Activity6_Task2
This stacked bar chart displays the percentage distribution of IMDb rating levels across six movie genres, showing how genre impacts audience ratings. Each genre’s bar is divided into five rating segments, from “below 5.0” to “above 8.5,” with tooltips revealing exact percentages on hover. Built with D3 v7 using SVG, the chart employs `d3.stack()` for data stacking, `d3.scaleOrdinal` for color encoding, and `d3.axisBottom` for the percentage axis. The data originates from a CSV file, rendered with interactive mouseover events for detailed value exploration.
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.