Customizing Axes
This bar chart displays the top 10 most populous countries based on 2018 estimates from the United Nations World Population Prospects. It shows how to customize D3 axes, including removing domain lines, adjusting tick sizes and formats, and adding axis labels and a title. Using d3.scaleBand and d3.scaleLinear, the code renders SVG rectangles, with axis components built via d3.axisBottom and d3.axisLeft. The number formatting uses d3.format to abbreviate values (e.g., converting G to B for billions) for clearer population labels.