🌍 Public
Viewing a saved revision (read-only)
210b8c4a760745c090a777f94d980339
Activity6_Task2
A stacked bar chart shows the distribution of movie ratings across genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5" on a percentage scale. The visualization uses D3 v7 with SVG rendering, employing `d3.stack()` to compute stacked series and `d3.scaleOrdinal` for color encoding. Interactive tooltips display exact percentages on mouseover, while axes are generated with `d3.axisBottom` and `d3.axisLeft`. The data comes from a CSV file with genre-based rating proportions.
AI-generated description