Fork of Activity-6(Questions1.1)
✓ Published0🌍 Public
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 descriptionMIT Licensed