Activity6_Task2
✓ Published0🌍 Public
This visualization shows the distribution of IMDb movie ratings across six genres, using stacked horizontal bars to represent the percentage of titles falling into five rating brackets from "below 5.0" to "above 8.5." Each genre row is segmented by rating category, colored via d3.scaleOrdinal with a five-color palette. The chart is built with d3.v7, using d3.stack to create the stacked data, d3.scaleBand for the y-axis, and d3.axisBottom for the x-axis. Tooltips display exact percentages on mouseover, and the SVG rendering includes axis labels and a title.
AI-generated descriptionMIT Licensed