Skip to main content
100%

activity 6 task 2

✓ Published0🌍 Public
Vvenkatabhaskaratetali@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024

A stacked bar chart displays the percentage distribution of five IMDb rating bands for six movie genres, illustrating how genre influences ratings. The chart uses horizontal bars with color-coded segments, and hovering over a segment reveals an exact percentage via a custom tooltip. The visualization is rendered with D3 v7 using SVG, employing the `d3.stack` and `d3.scaleOrdinal` APIs. Data comes from a CSV file with proportional values per genre, normalized so each bar totals one hundred percent.

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