Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
GGOPI MUPPURI
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This stacked bar chart illustrates how movie ratings are distributed across genres, with each bar segment representing the percentage of ratings within a specific range, from below 5.0 to above 8.5. The visualization uses D3.js (v6) with SVG rendering, employing d3.stack() to aggregate the data and d3.scaleBand for the categorical y-axis. Hovering over any segment triggers a tooltip displaying the exact percentage for that rating level within the selected genre. The data originates from a CSV file containing genre-based rating proportions.

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