Making a Bar Chart
This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses d3.scaleLinear for the x-axis and d3.scaleBand for the categorical y-axis, with d3.axisBottom and d3.axisLeft to render custom axes. Data is loaded via d3.csv and formatted with d3.format. The SVG rendering includes styled rectangles and axis labels, demonstrating a clean, readable layout.