Task_8_Q2
✓ Published0🌍 Public
A stacked bar chart displays population totals for ten countries across six years, from 2015 to 2020, using data from a CSV file. Each bar is segmented by year, with colors from `d3.schemeCategory10` and a legend indicating the year mapping. The chart uses `d3.stack()` to compute the stacked series, `d3.scaleBand` for the categorical x-axis, and `d3.scaleLinear` for the y-axis, rendering with SVG rectangles.
AI-generated descriptionMIT Licensed