Skip to main content
100%

Activity6_Task-2

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

This stacked bar chart shows the distribution of IMDb rating levels across six movie genres, revealing that documentaries and dramas tend to receive higher ratings while action films skew toward lower scores. Each horizontal bar is segmented into five rating categories using `d3.stack()` and `d3.scaleOrdinal` with a categorical color scale. Mouse hover interactions trigger tooltips displaying exact percentages via `d3.select` and event handlers. The visualization is rendered as SVG using D3 v7, with data loaded from a CSV file and axes formatted using `d3.axisBottom` and `d3.axisLeft`.

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