🌍 Public
Viewing a saved revision (read-only)
db40a5edd2aa4fe5a6c26b99e9f80862
Activity 6_Question 1
A horizontal bar chart displays the populations of the top ten countries in 2020, ranked by country name. The chart uses D3 v5 scales, including `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with values formatted to billions using `d3.format`. React renders the SVG elements, while D3’s `csv` loads and parses the population data from a GitHub-hosted CSV file. Each bar includes a native SVG `<title>` element for tooltips.
AI-generated descriptionA demonstration of how to start using D3 version 6.