Fork of q3
This stacked dot chart visualizes the proportion of IMDb ratings across six movie genres, with each genre's distribution across five rating brackets summing to 100%. The visualization uses D3 v7 to map rating percentages along a linear scale, with each genre row displaying colored dots that represent different rating categories. Hovering over a dot triggers a tooltip showing the exact percentage, while a legend on the right identifies the color-coded rating bands. The chart is implemented as an SVG with data loaded from a CSV file, using D3's scaleBand for genre positioning and scaleLinear for percentage values.
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%.