Skip to main content
100%

activity6task2q2

✓ Published0🌍 Public
Ssaitejakaranam10@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from activity6task2

This stacked bar chart shows how phone brand influences the distribution of ratings across five percentage categories. Built with D3 v7, the SVG visualization uses `d3.stack()` to aggregate proportions and `d3.scaleBand` for brand grouping, with `d3.scaleOrdinal` assigning colors to rating categories. Hover interactions reveal exact percentages via a custom tooltip, while the data comes from a CSV file mapping brands like Apple and Samsung to their rating breakdowns.

AI-generated description

The impact of genre on movie ratings

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

MIT Licensed

Similar vizzes