Skip to main content
100%

Task8_Q2_3

✓ Published0🌍 Public
Ttarunskuruvadi@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This stacked bar chart, built with D3 v7 and rendered as SVG, visualizes the impact of genre on movie ratings by displaying the percentage of each rating level within different genres. The chart uses D3's stack and scaleOrdinal functions to create the horizontal bars, with a hover tooltip showing precise percentages. The data is sourced from IMDb movie ratings, and the visualization employs tooltip elements and mouse events to provide interactive feedback, with a color scale distinguishing between rating categories.

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