Skip to main content
100%

Activity 6 Task 2

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

This stacked bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segmented into five rating-level percentages that sum to 100%. Hovering a segment reveals an exact percentage tooltip. The visualization uses d3.v7's `d3.stack()`, `d3.scaleOrdinal()`, and `d3.scaleBand()` to render SVG rectangles, reading data from a local CSV file. Genre labels appear on the y-axis, and a color-coded legend identifies each rating band.

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