Customizing Axes
This bar chart displays the populations of the ten most populous countries using 2019 data from the United Nations World Population Prospects. The visualization customizes both axes: the y-axis removes default domain and tick lines, while the x-axis applies a tick formatter that converts large numbers into abbreviated units, replacing 'G' with 'B' for billions. Built with d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom, the SVG chart includes horizontal gridlines, a population label, and a title. Population values are multiplied by 1,000 to reflect the raw data.