Skip to main content
100%

Fork of Activity 6_Question 2_task 1

✓ Published0🌍 Public
Jjampani921@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 6_task 2

This stacked bar chart shows the percentage distribution of movie ratings across seven gaming genres, with each bar segment representing a rating band from “Below 5.0” to “Above 8.5.” The visualization makes the impact of genre on ratings immediately apparent, such as Simulation’s relatively higher share of top ratings. Hovering over any segment reveals an exact percentage via a tooltip. The chart uses D3 v7’s `d3.stack` and `scaleBand` to position the bars, with data loaded from a local CSV file and rendered as SVG elements with interactive mouse events.

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