Skip to main content
100%

Fork of Activity6_Question2

✓ Published0🌍 Public
Ssaibharath7thota@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This stacked bar chart shows the percentage distribution of five rating levels within six product categories, visualizing how category influences ratings. Each bar segment represents a rating range, with hover interactions displaying exact percentages via tooltips. The visualization uses D3 v7 with a stacked layout, ordinal color scaling, and a band scale for categorical positioning. Data is loaded from a CSV file containing pre-calculated proportions, rendered as SVG rectangles with interactive mouse events.

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