Skip to main content
100%

Task-8

✓ Published0🌍 Public
HHarika Metta
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from IMDb Movie ratings

This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, showing the proportion of films falling into five rating brackets from "below 5.0" to "above 8.5." Each bar segment represents a rating category's share of a genre's total, with a legend on the right mapping colors to rating levels. Hovering over a segment reveals its exact percentage via a tooltip. The visualization uses d3.stack for data preparation, d3.scaleLinear for the x-axis, and d3.scaleBand for the y-axis, rendering all elements as 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