Skip to main content
100%

Fork of Activity6_task2

✓ Published0🌍 Public
KKritin Kesav
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity6_task2

This stacked bar chart shows the percentage distribution of IMDb ratings across movie genres, with each bar divided into five rating levels from below 5.0 to above 8.5. The visualization demonstrates how genre influences audience ratings, such as Documentaries having higher proportions of high ratings compared to Action films. Built with D3 v7, the chart uses `d3.scaleLinear` for the x-axis percentages, `d3.scaleBand` for categorical genres, and `d3.stack` to create stacked segments. Hovering over any segment displays a tooltip showing the exact percentage for that rating level within the genre, calculated from the CSV data.

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