Making a Bar Chart
This example shows a horizontal bar chart of the top 10 most populous countries, with population values read from a local CSV file and scaled using `d3.scaleLinear` and `d3.scaleBand`. The bars are rendered as SVG rectangles, with axes generated by `d3.axisLeft` and `d3.axisBottom`. Built with React and D3 v5, the chart uses `d3.csv` to load data and applies a custom margin layout, with a steel-blue fill for all rectangles.