🌍 Public
Viewing a saved revision (read-only)
ea7c21a2070f456597eecdf309b985a5
Activity6_Task2
This stacked bar chart shows the percentage distribution of IMDb rating levels across six movie genres, revealing how genre influences audience ratings. Each bar represents a genre, segmented into five rating categories from below 5.0 to above 8.5. Using d3.stack() and d3.scaleOrdinal for coloring, the visualization renders as SVG. Interactive tooltips appear on mouseover via d3.select and event handlers, displaying the exact percentage for each rating segment within a genre. The data comes from a CSV file containing genre and rating proportion columns.
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.