Tutorial2_Activity6
This stacked bar chart visualizes the percentage distribution of IMDb rating levels across different movie genres, with each bar segmented into five rating bands from "below 5.0" to "above 8.5." Hovering over a segment displays a tooltip with the exact percentage for that rating level within the selected genre. The chart uses D3 v7 with a linear x-axis for percentages and an ordinal color scale for rating categories. The tooltip appears on mouseover events and updates position and content dynamically based on the hovered bar segment.
AI-generated descriptionThe impact of genre on movie ratings
This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.