🌍 Public
Viewing a saved revision (read-only)
2361eb1cfdbd4d0c88b7d71ff693a5cd
Activity 6_task 1 Q1.1
This bar chart displays the population of ten countries in the year 2000, ranked along a vertical axis. The visualization uses React with D3 v5's `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, with population values converted from thousands. Axis components use `tickFormat` to abbreviate large numbers, converting 'G' to 'B' for billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.