Activity 6 t2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segment representing the percentage of titles falling into rating brackets from below 5.0 to above 8.5. The visualization uses d3.stack() to compute the stacked series, d3.scaleBand() for the categorical y-axis, and d3.scaleLinear() for the percentage x-axis. A tooltip, built with HTML div elements and styled via CSS, appears on mouseover to display the exact percentage for any segment. The chart is rendered as SVG using D3 v7, with data loaded from a CSV file.
AI-generated descriptionMIT Licensed