Activity6_Task2
✓ Published1🌍 Public
This stacked bar chart shows the percentage of movie ratings across five genres, using horizontal bars segmented by rating categories from "below 5.0" to "above 8.5". Hovering over a segment reveals the exact percentage via a tooltip. The visualization uses d3.csv to load data, d3.stack for stacking, and d3.scaleBand and d3.scaleLinear for axes. SVG rendering displays the chart, with 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%.
MIT Licensed