activity7_question2
This stacked area chart shows the distribution of IMDb rating levels across movie genres, with each genre’s ratings stacked to total 100%. The visualization uses d3.stack() to compose the data, d3.area() with curveBasis for smooth paths, and d3.scaleBand and d3.scaleLinear for axes. A legend and axis labels clarify the rating categories. The data is loaded via d3.csv from a GitHub-hosted CSV file, and the SVG rendering uses color-coded areas to compare genre-specific rating proportions.
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%.