Skip to main content
100%

Activity_6 Task 2

✓ Published0🌍 Public
Rreddyjathin95@gmail.com
Last edited Jul 12, 2024
Created on Jul 12, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, with each bar segment representing the percentage of titles falling into one of five rating brackets. Data is drawn from the `data.csv` file, rendered as SVG rectangles using D3.js v7's stacked bar API (`d3.stack()`) and band scale for the y-axis. Hovering over a segment reveals a tooltip showing the exact percentage for that rating level within the genre, aiding comparison of rating patterns across genres like Documentary and Action.

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