🌍 Public
Viewing a saved revision (read-only)
d3544ffb2f38495c9c8ab336734e067b
Activity6_Task2
This visualization presents a stacked horizontal bar chart of IMDb movie ratings across six genres, with each bar segment representing the proportion of titles within rating brackets from below 5.0 to above 8.5. The chart uses D3 v7 with SVG rendering, employing `d3.stack()` for the stacked layout, `d3.scaleBand` for the genre axis, and `d3.scaleLinear` for the percentage scale. Interactive tooltips display the exact percentage for each segment on hover, using `d3.select` and event handlers. Data comes from the included CSV file.
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.