Fork of Axes with React & D3
This example visualizes the top 10 most populous countries as a horizontal bar chart, using United Nations World Population Prospects 2019 data loaded via `d3.csv`. It renders SVG with React, computing scales with `scaleBand` and `scaleLinear`, and draws custom axes using `xScale.ticks()` for grid lines and labels. The chart includes a y-axis with country names and an x-axis with population values, all within a React component that manages data fetching with `useState` and `useEffect`.