Task 9 question2
✓ Published1🌍 Public
This stacked area chart shows the distribution of IMDb ratings across six movie genres, with each genre broken into five rating brackets from “below 5.0” to “above 8.5”. The chart uses d3.stack() and d3.area() with a basis curve, rendering as SVG. A color scale maps each rating category, and an ordinal axis with rotated labels displays genres on the x-axis. The data originates from a CSV file and is loaded via 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%.
MIT Licensed