🌍 Public
Viewing a saved revision (read-only)
67409f0e9c444c1a9ed4eb66d1f664ec
Activity6_Q 1.1
This visualization displays the population of ten countries in the year 2000 as a horizontal bar chart. The code uses React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` mapping country names and population values to positions. Data is loaded as CSV from a GitHub repository, and population values are formatted using D3’s `format` function, abbreviating large numbers with labels like "B" for billions.
AI-generated description