🌍 Public
Viewing a saved revision (read-only)
226dd644b4b84e92a6c69c3cd20d9960
Fork of Activity 6_Question 1-1.2
A horizontal bar chart displays the top ten countries by 2020 population, with bars extending rightward from a blue axis line and a green fill. The visualization uses React to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) mapping country names and population values. Data loads asynchronously from a GitHub-hosted CSV file via `d3.csv`, and tick labels format large numbers using `d3.format` with a custom 'B' suffix replacement.
AI-generated descriptionA demonstration of how to start using D3 version 6.