🌍 Public
Viewing a saved revision (read-only)
c0bad5c461d94b7e9d958022fec5bec1
Activity6_Task1
A horizontal bar chart displays the 2020 population estimates for the top 30 countries, sorted by country name. The visualization uses React with D3 v5 to render SVG elements, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are formatted with D3's `format` function to abbreviate large numbers (e.g., B for billions). Data loads from a remote CSV file via D3's `csv` method, and each bar includes a native SVG tooltip showing the formatted population value.
AI-generated description