Task2_Question3
This stacked bar chart visualizes the distribution of movie ratings across six sports genres, showing the proportion of each rating category within every genre. The chart uses D3.js to render horizontally stacked bars and percentage axes, with genres like Football and Soccer displayed along the y-axis. The data is loaded from a CSV file, and interactive tooltips provide precise percentage values for each rating segment on hover, revealing the impact of genre on audience ratings. The visualization encodes the five rating ranges using color-coded segments that sum to 100% for each genre.
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%.