Skip to main content
100%

ACT6_TASK2.2

✓ Published0🌍 Public
RRevanth putta
Last edited Oct 26, 2025
Created on Oct 26, 2025

This stacked bar chart displays the projected 2020 population distribution for ten countries, split into three synthetic demographic groups. Built with React and D3 v5, it uses `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to render SVG rectangles. Data comes from the UN Population 2019 CSV, processed by `d3.csv`. Each bar segment's length reflects a fixed percentage of total population, with colors assigned via `d3.scaleOrdinal`.

AI-generated description
MIT Licensed

Similar vizzes