Task8_Q2_3
This stacked bar chart, built with D3 v7 and rendered as SVG, visualizes the impact of genre on movie ratings by displaying the percentage of each rating level within different genres. The chart uses D3's stack and scaleOrdinal functions to create the horizontal bars, with a hover tooltip showing precise percentages. The data is sourced from IMDb movie ratings, and the visualization employs tooltip elements and mouse events to provide interactive feedback, with a color scale distinguishing between rating categories.
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%.