🌍 Public
Viewing a saved revision (read-only)
fb3c8ff6958841dfbb9c1187049db8d1
Fork of Activity-6(Questions1.1)
This chart displays the population of the top ten countries in the year 2000 as a horizontal bar chart, with countries labeled on the y-axis and population values on the x-axis. The visualization uses React to render SVG graphics, leveraging D3 version 5’s `scaleBand` and `scaleLinear` for axes and data mapping. Population values are read from a remote CSV file using `d3.csv`, with axes formatted using D3’s `format` function to abbreviate large numbers (e.g., "2.0B"). The bars include tooltips showing the exact population values.
AI-generated description