Skip to main content
100%

Activity 6_Task 2

✓ Published0🌍 Public
Aakankshareddygorla@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres—Documentary, Drama, Comedy, Romance, Animation, and Action—with each bar segmented into five rating levels from "below 5.0" to "above 8.5". The visualization makes the impact of genre on ratings immediately apparent; for instance, Action films have a high proportion of low ratings, while Documentaries skew toward higher scores. Built with D3 v7 and rendered as SVG, the chart uses `d3.stack()` to create the stacked segments, `d3.scaleOrdinal()` for color encoding, and `d3.scaleLinear()` for the percentage axis. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating level within a genre, computed from the CSV data source.

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