Skip to main content
100%

Activity6_Task 2

✓ Published0🌍 Public
SSiddhartha Alwala
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A stacked bar chart shows how IMDb movie ratings are distributed across six genres, with each bar segmented into five rating bands from "below 5.0" to "above 8.5" as proportions summing to 1. The visualization highlights that documentaries skew toward higher ratings while action films concentrate in the lowest band. Built with D3 v7, the chart uses `d3.stack()` to compute the stacked segments and `d3.scaleOrdinal` for color encoding. Interactive tooltips display the precise percentage for each rating segment on mouseover. Data comes from the embedded `data.csv` file, rendered 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