Activity6_Task2
✓ Published0🌍 Public
This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segment representing the proportion of films within rating brackets from below 5.0 to above 8.5. The chart uses d3.stack() to compute stacked series and d3.scaleOrdinal for color mapping. Interactive mouseover events update a tooltip displaying the exact percentage for each genre-rating combination, while d3.axisBottom and d3.axisLeft provide labeled scales. Data is loaded from a CSV file using d3.csv.
AI-generated descriptionMIT Licensed