Activity6-Q3.6
This dot plot shows how IMDb movie ratings are distributed across five genres, with each genre’s ratings broken into five percentage categories that sum to 100%. Hovering over a dot reveals the exact percentage for that rating category. The visualization uses d3.csv to load data, d3.scaleLinear, d3.scaleBand, and d3.scaleOrdinal to map values, with mouseover and mouseout events controlling a tooltip. The SVG chart includes a legend and axis labels.
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%.