Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Movie ratings_test

Public visualization

Movie ratings_test

0 stars0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed