Skip to main content
100%

Fork of Task6_3

✓ Published0🌍 Public
Ppravallikaratankanthkatragadda@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Task6_Tutorial_PR

A stacked bar chart visualizes the percentage distribution of IMDb ratings across six movie genres, using five rating brackets from below 5.0 to above 8.5. Each bar shows the proportional share of ratings within a genre, with colors distinguishing the rating levels. The chart reads data from a CSV file and renders with D3 v7, using `d3.stack()` to create the stacked series, `d3.scaleBand` for the genre axis, and `d3.scaleLinear` for percentages. Hovering over a segment triggers a tooltip displaying the exact percentage, implemented with mouse event handlers and HTML div elements.

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