🌍 Public
Viewing a saved revision (read-only)
b729a1345f3c403797909875665b5883
Fork of IMDb Movie ratings
This stacked horizontal bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segment representing a rating bracket from “below 5.0” to “above 8.5.” The chart uses d3.csv to load the dataset, then applies d3.stack and d3.scaleOrdinal with a custom color palette to build the stacked segments. D3’s scaleBand positions genres on the y-axis, while scaleLinear maps percentages along the x-axis. Interactive tooltips appear on mouseover, displaying the exact percentage for each segment via d3.format.
AI-generated description