Skip to main content
100%

Movie ratings_test

✓ Published0🌍 Public
Yyuqing35
Last edited Dec 15, 2022
Created on Dec 15, 2022

This stacked bar chart displays the distribution of five rating categories across six movie genres, showing how rating percentages vary by genre. Each horizontal bar represents a genre, segmented into colored bands for ratings below 5.0 through above 8.5, with a legend on the right. The visualization uses d3.csv to load data and d3.stack to compute the stacked segments, with d3.scaleBand for the y-axis and d3.scaleLinear for percentages. Interactive tooltips appear on hover via mouseover events, highlighting specific rating proportions.

AI-generated description

The impact of genre on movie ratings.

This bar chart gives the percentage of each rating level within difference genres, to show the impact of genre on movie ratings.

MIT Licensed

Similar vizzes