Skip to main content
100%

Activity 6_Tutorial2

✓ Published1🌍 Public
Jjayanthbalina@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from IMDb Movie ratings

This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, with each genre's horizontal bar divided into five rating categories from below 5.0 to above 8.5. The visualization highlights how documentary and animation films tend to receive higher ratings compared to action movies, which have the largest share of low ratings. Built with D3 v7 and rendered as SVG, the chart uses `d3.stack()` and `d3.scaleOrdinal` for the stacked bars and color encoding, with a custom tooltip displaying exact percentages on hover. Data comes from a local CSV file, and the chart includes axis labels, a legend, and a title.

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