Skip to main content
100%

Activity6

✓ Published0🌍 Public
Aanushapodapati99@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from IMDb Movie ratings

A stacked bar chart visualizes the distribution of IMDb movie ratings, from below 5.0 to above 8.5, across six genres. Each horizontal bar represents a genre and is segmented by rating level, showing the proportional percentage of movies within each category. The chart uses d3.scaleOrdinal for color mapping and d3.stack to create the stacked segments. Hovering over a bar segment displays a tooltip with the exact percentage for that rating level, while a legend identifies each rating category. The data is loaded from a CSV file, and the visualization is rendered as an SVG.

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