🌍 Public
Viewing a saved revision (read-only)
e29fbb7767c24ba7be92adffa3ecff30
Activity 6
This stacked bar chart displays the percentage distribution of IMDb movie ratings across six genres, revealing how rating patterns vary by genre. Each bar is segmented into five rating categories, from below 5.0 to above 8.5, with the total always equaling 100%. The visualization uses D3 v7 with SVG rendering, employing `d3.stack()` to create the stacked segments and `d3.scaleOrdinal` for color mapping. Interactive hover effects trigger tooltips showing exact percentages for each genre-rating combination. The chart reads from a CSV data file and includes labeled axes for percentage and genre categories.
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.