Skip to main content
100%

Activiry6_Task2

✓ Published2🌍 Public
AAnirudhaKulakarniKaranam@my.unt.edu
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of IMDb ratings across six movie genres. The horizontal bars are segmented into five rating categories, from "below 5.0" to "above 8.5", with each genre’s total summing to 100%. The visualization reveals how different genres skew toward higher or lower ratings. The chart is rendered as an SVG using D3 v7. The code uses `d3.stack()` to create the stacked segments and `d3.scaleOrdinal` for color mapping. Interactive tooltips appear on mouseover, displaying the precise percentage for each rating segment. The data comes from a CSV file containing genre and rating percentage columns.

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