Skip to main content
100%

Task_8_Q2

✓ Published0🌍 Public
DDipesh
Last edited Apr 10, 2024
Created on Apr 9, 2024
Forked from Activity 6_Task 2

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 description
MIT Licensed

Similar vizzes