Skip to main content
100%

Fork of Task 9 question2

✓ Published5🌍 Public
SSreeKohaliPatel@my.unt.edu
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Task 9 question 2

This stacked area chart compares the distribution of IMDb ratings across six movie genres, showing the proportion of films in each rating band (from "below 5.0" to "above 8.5") for each genre. The chart uses a color-coded legend and an area chart with a basis curve interpolation to represent the stacked percentages, which sum to 1. The visualization is built with the D3.js library, version 7, using its `scaleBand` for the genre axis, `scaleLinear` for the percentage axis, and the `axisBottom` helper for the x-axis. Data is loaded from a CSV file via `d3.csv`.

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