🌍 Public
Viewing a saved revision (read-only)
625e8ccb4bcf4fa39989ce04e522224c
Activity6_Task2
This stacked bar chart shows how movie ratings are distributed across six genres, with each bar representing the percentage of films falling into five rating categories from below 5.0 to above 8.5. The visualization highlights that documentaries have the highest proportion of high ratings, while action films tend toward lower scores. Built with D3 v7, the chart uses `d3.stack()` to construct the stacked segments and `d3.scaleOrdinal` for color encoding. Hovering over individual bars triggers tooltips displaying the exact percentage for each rating level within that 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.