Skip to main content
100%

Fork of IMDb Movie ratings

✓ Published0🌍 Public
CChandra Prakash Reddy Kalwakolu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from IMDb Movie ratings

This stacked bar chart shows how IMDb movie ratings are distributed across six genres, with each bar segment representing the percentage of movies falling into one of five rating brackets. The visualization uses d3.stack and d3.scaleOrdinal to compose the bars, while d3.axisBottom and d3.scaleBand structure the percentage axis and genre categories. Genre and rating data are loaded from a CSV file via d3.csv. Mouse events trigger a tooltip displaying the exact percentage for each segment, populated through D3’s selection and event handling methods.

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