Making a Bar Chart
This bar chart displays the top 10 most populous countries in 2018, with population values from the United Nations World Population Prospects 2017 estimate. Each rectangle’s length encodes the population in thousands, while country names are listed on the vertical axis. The visualization uses D3 v5 with the `scaleLinear` and `scaleBand` functions to map data, and renders axes via `axisLeft` and `axisBottom`. The chart is drawn as SVG elements, with data loaded from a CSV file.