Skip to main content
100%

q3

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

This visualization shows the percentage distribution of IMDb movie ratings across six genres using a stacked bar chart, revealing how genres like Documentary skew toward higher ratings while Action films cluster at lower scores. Hovering over any bar segment displays the exact percentage for that rating category within its genre. The chart uses D3 v7 with `d3.scaleOrdinal` for color mapping, `d3.axisBottom` and `d3.axisLeft` for axes, and reads data from a CSV file containing genre and rating proportion columns, rendering all elements as SVG with custom tooltip popups.

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