Skip to main content
100%

Activity 6 Tutorial 2 BHAVANI MANDULA

✓ Published0🌍 Public
Bbhavanimandula@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A stacked bar chart shows the distribution of IMDb rating categories across six movie genres, with each bar segment representing the percentage of ratings in ranges from below 5.0 to above 8.5. The visualization uses d3.stack() to compute the stacked segments and d3.scaleOrdinal() with a custom color palette for the rating bands. Hovering over a segment displays a tooltip with the exact percentage via d3.format(). Data comes from a CSV file loaded with the D3 v7 library, rendered as SVG with scales for percentage and genre on the x and y axes.

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