Activity6_Task2
This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, showing the proportion of films within five rating bands for each genre. The chart uses a horizontal layout with genre on the y-axis and percentage on the x-axis, enabling quick comparison of rating patterns. Each bar segment is colored according to its rating category, with a legend indicating the mapping. Hovering over a segment reveals the exact percentage for that rating band within the genre. The visualization is built with d3.v7, using stacked bar geometry, axis scaling, and a custom tooltip for interactive data exploration.
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%.