Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
VVrushikaKanaparthy@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of five IMDb rating levels across six movie genres, demonstrating how genre influences audience ratings. The visualization uses a diverging color scheme to distinguish rating categories and includes hover tooltips that display exact percentages. The code employs D3 v7 with the `d3.stack()` method for data stacking, `d3.scaleOrdinal()` for color mapping, and `d3.scaleLinear()` with `d3.scaleBand()` for axes. Data is loaded from a CSV file and rendered as SVG rectangles within an HTML page.

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