Fork of Making a Bar Chart
This bar chart displays the population of the top ten most populous U.S. cities, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses D3 v5 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis (population) and `d3.scaleBand` for the y-axis (city names). Axes are generated via `d3.axisLeft` and `d3.axisBottom`, while data is loaded from a CSV file using `d3.csv`. Each rectangle’s width corresponds to the city’s population, with values multiplied by 1,000.