🌍 Public
Viewing a saved revision (read-only)
a2c03ed6f9f34854864ccfbdc6395823
Activity6_Question 1.1
This chart displays the top 10 countries by population in 2000 as horizontal bars. The visualization uses React with D3 v5, employing `scaleBand` and `scaleLinear` to map countries and population values. Data is loaded from a CSV file via `d3.csv`, processed, and sorted. Axes are rendered with custom React components for bottom and left positions. Bars are drawn as SVG rectangles with hover effects, and population values appear as formatted tooltips using `siFormat` with 'G' replaced by 'B'.
AI-generated description