Skip to main content
100%

Activity 6_Question 2

✓ Published0🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of student grades across five rating intervals for different genres, revealing how grade categories vary by genre. The visualization uses D3 v7's stack, scaleLinear, scaleBand, and axis methods to construct the horizontal bars, with SVG rendering. Hovering over a segment triggers a custom tooltip displaying the exact percentage via a mouseover event handler. The data comes from a CSV file containing grade percentages per genre, with total proportions summing to 1. A color scale maps rating intervals to distinct hues.

AI-generated description

The 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

Similar vizzes