Skip to main content
100%

Fork of Activity6_Question2

✓ Published0🌍 Public
Ssiddhartha gurram
Last edited Apr 4, 2024
Created on Apr 4, 2024

This stacked bar chart shows the percentage distribution of movie ratings across five categories, with each bar segmented into five rating levels that sum to 100%. Categories appear on the y-axis and percentages on the x-axis, with hover interactions displaying precise percentage values via a tooltip. The visualization uses d3.scaleOrdinal for color encoding, d3.stack for data transformation, d3.axisBottom and d3.axisLeft for axes, and SVG rendering with event listeners for mouseover interactions.

AI-generated description

The impact of category on ratings

This stacked bar chart gives the percentage of each rating level within different categories. The aim is to show the impact of category on ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentages of each rating level within each category. The total percentage is 1, representing 100%

MIT Licensed

Similar vizzes