Customizing Axes
This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. It shows how to customize D3 axes by removing the default domain lines, styling tick lines in a light gray, and formatting x-axis labels to abbreviate large numbers (e.g., converting gigas to billions) via tickFormat. The chart is rendered as an SVG, built with D3 v5, using scaleLinear for the x-axis, scaleBand for the y-axis, and axisBottom to generate the customized axes.