Axes with React & D3
A horizontal bar chart displays United Nations population estimates for ten countries in 2020, with D3 scales mapping country names to the y-axis and population values to the x-axis. The example integrates D3's `scaleBand`, `scaleLinear`, and `max` functions within a React component, rendering SVG elements through ReactDOM. CSV data loads asynchronously via `d3.csv`, and the chart draws tick marks, labels, and bars using SVG `<line>`, `<text>`, and `<rect>` elements, with axes positioned using explicit margin calculations.