🌍 Public
Viewing a saved revision (read-only)
e0c8c2012404443e98fc02141704b9d7
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