🌍 Public
Viewing a saved revision (read-only)
de63b89e5788474cbedd57b24ecebb7d
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