🌍 Public
Viewing a saved revision (read-only)
1d2f0b1293a349bd9b86829a2f97a436
Activity6_Task2
This stacked bar chart shows the percentage distribution of five IMDb rating levels across six movie genres, revealing how genre influences audience ratings. The visualization uses d3.stack() to compute stacked segments and d3.scaleBand with d3.scaleLinear for positioning. Hover interactions trigger tooltips displaying exact percentages via d3.select and event handlers. The SVG rendering includes a legend, axis labels, and color-coded categories from the data.csv source 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.