Activity6_Task1
✓ Published0🌍 Public
This visualization displays the 2020 population figures for 30 countries using a horizontal bar chart. The bars are rendered as SVG rectangles, with each country positioned along the y-axis and bar length proportional to population size along the x-axis. The code uses React components and D3 v5 APIs including `scaleBand`, `scaleLinear`, `max`, and `format` (with `.2s` for SI-prefixed tick labels). Data is loaded asynchronously from a remote CSV file using `d3.csv`, and axes are constructed via custom React components for bottom and left alignment.
AI-generated descriptionMIT Licensed