IMDb Movie ratings
This stacked bar chart shows the percentage of IMDb ratings across five genre categories, with each bar segmented into five rating levels. The visualization reveals how rating distributions differ by genre, such as documentaries having a higher proportion of high ratings compared to action films. The SVG rendering uses d3.stack() to create the stacked segments, d3.scaleBand() and d3.scaleLinear() for positioning, and d3.scaleOrdinal() with a custom color palette. Hover interactions display precise percentages via a tooltip appended to the body, with data loaded from a CSV file using d3.csv().
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%.