Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Aanushapodapati99@gmail.com
Last edited Apr 17, 2024
Created on Apr 17, 2024
Forked from IMDb Movie ratings

This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, revealing how genres like Documentary skew toward higher scores while Action films cluster at lower ratings. Each bar segment represents a rating bracket, with hover interactions displaying exact percentages. The visualization uses D3 v7’s `d3.stack()` and `d3.scaleOrdinal` for color encoding, rendered as SVG rectangles within a band scale. Data comes from a CSV file, and a custom tooltip div displays precise values on mouse movement.

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