🌍 Public
Viewing a saved revision (read-only)
415225c36c644c78aece4b94e25ccbae
Activity6_Task2
This stacked bar chart illustrates how movie ratings are distributed across genres, with each bar segment representing the percentage of ratings within a specific range, from below 5.0 to above 8.5. The visualization uses D3.js (v6) with SVG rendering, employing d3.stack() to aggregate the data and d3.scaleBand for the categorical y-axis. Hovering over any segment triggers a tooltip displaying the exact percentage for that rating level within the selected genre. The data originates from a CSV file containing genre-based rating proportions.
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.