Viewing a saved revision (read-only)
694cf89f6e1b4e71b552e5e71b07a18e
Activity8_Task2
A stacked bar chart displays the percentage distribution of movie ratings across six genres, from documentary to action. Each bar represents a genre, with colored segments showing five rating ranges from below 5.0 to above 8.5. Hovering over a segment highlights it and reveals the exact percentage via a tooltip. The visualization uses d3.v7 with d3.stack, d3.scaleOrdinal, and d3.scaleBand, rendering as SVG from CSV data.
AI-generated descriptionMovie Ratings for each genre
This graph represents a stacked bar graph of ratings of different movie genres. This is to visualize the change inrating according to genre. We can see the exact percentage of ratings by hovering over the bars in the stacked bar. Each color represents a ratings range and each bar represents a genre.