Viewing a saved revision (read-only)
095fdc33dbef4475bb03be3dd69473ee
Question2-3-Venkat
This stacked bar chart displays chocolate brand ratings across five percentage-based categories, from “Below 3” to “Above 6.” Each horizontal bar represents a brand, with colored segments showing the proportion of ratings in each category. The chart uses d3.v7 with d3.stack for grouping the data, d3.scaleBand for the y-axis, and d3.scaleLinear for the x-axis. Tooltips reveal exact percentages on mouseover, and the dataset is loaded from Chocolate.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%.