Making a bar chart
This bar chart displays the populations of the world’s ten most populous countries, using horizontal bars ordered from largest to smallest. The chart is rendered as an SVG using D3 v5, with a linear scale for population and a band scale for country names, plus axis ticks generated via `axisLeft` and `axisBottom`. Population values from the CSV, sourced from the 2018 estimate, are multiplied by 1,000 to reflect actual figures. The visualization relies on D3’s `scaleLinear`, `scaleBand`, `max`, and `csv` utilities.