🌍 Public
Viewing a saved revision (read-only)
cf86270e95994ac4a0780a1744431dc8
Activity6_Task2
This stacked bar chart shows the percentage distribution of five IMDb rating levels across six movie genres, revealing how genre affects audience ratings. Each bar segment represents a rating category, with hover interactions displaying exact percentages via a custom tooltip. The visualization uses D3.js v7 with SVG rendering, employing `d3.stack()` for data stacking, `d3.scaleOrdinal` for color mapping, and `d3.scaleBand` for genre positioning. Data comes from an embedded CSV file, with axes labeled for percentage and genre.
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.