Skip to main content
100%

activity7_question2

✓ Published0🌍 Public
JJayanth Reddy Sripathi
Last edited Nov 8, 2024
Created on Nov 8, 2024

This stacked bar chart shows the percentage distribution of IMDb movie ratings across different genres, aiming to reveal the impact of genre on rating levels. Each genre displays stacked segments representing five rating categories, with hover pop-ups showing precise percentages per genre. The visualization uses d3.stack() to create stacked data, d3.area() with a basis curve for smooth rendering, and d3.scaleBand and d3.scaleLinear for axes. Data is loaded via d3.csv from a GitHub repository, with an ordinal color scale and legend distinguishing rating categories.

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