Fork of making a bar chart with React & D3
This example shows a horizontal bar chart of the ten most populous countries in 2020, using United Nations population data loaded via `d3.csv`. React renders SVG bars, axes, and labels, while D3 scales (`scaleBand`, `scaleLinear`) compute positions and the `format` API converts tick values to abbreviated strings like "1.4B". The code separates concerns into reusable components for axes and marks, with a custom `useData` hook managing asynchronous data fetching.