Fork of A6_T2
This stacked bar chart shows how IMDb movie ratings distribute across genres, displaying the percentage of films falling into five rating bands. The visualization reveals that documentaries have the highest proportion of high ratings, while action films skew toward lower scores. Built with D3 v7, the chart uses `d3.stack()` to compute the stacked series, `d3.scaleBand()` for the categorical genre axis, and `d3.scaleLinear()` for the percentage scale. Interactive tooltips appear on mouseover, showing precise percentage values for each genre-rating combination using data from the embedded CSV file.
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%.