🌍 Public
Viewing a saved revision (read-only)
2dc54518502340039f312a4c813981fe
A6_Q1.2
A horizontal bar chart displays the populations of 20 countries in 2010, with country names on the y-axis and population values on the x-axis. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` to position bars, while green SVG rectangles render the data. Axis components generate tick marks and labels, and tooltips appear via SVG `<title>` elements. Population data is loaded as CSV from a remote GitHub URL and formatted with D3’s `format('.2s')` to abbreviate large numbers.
AI-generated description