Fork of Fork of Making a Bar Chart
This bar chart displays the populations of the world’s ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization encodes each country’s population as the length of a horizontal bar, sorted by value, with a linear scale on the x-axis and a band scale on the y-axis. Built with D3 v5, the code loads data from a CSV file via `d3.csv`, then renders SVG rectangles using `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`. The data is explicitly parsed into numeric population values before rendering.