Fork of Fork of Making a Bar Chart
This bar chart shows the population of the top 10 most populous countries, based on 2018 estimates from the United Nations’ World Population Prospects. It uses D3 v5’s `select`, `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `format` APIs to render the SVG. The population values are multiplied by 1000 from the CSV data, and axis ticks use a custom formatter to convert values to billions. The chart includes a title, axis label, and horizontal grid lines.