Skip to main content
100%

t2

✓ Published1🌍 Public
Aamshureddy13@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar representing the percentage of ratings in five categories from “below 5.0” to “above 8.5”. The visualization uses d3.stack() to compute the stacked segments and d3.scaleOrdinal with a custom color palette for the categories. Hovering over any segment triggers a mouseover event that displays a tooltip showing the exact percentage for that genre and rating level. The chart renders in SVG, with axes created via d3.axisBottom and d3.axisLeft, and includes a legend for the rating categories.

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