Customizing Axes
This bar chart displays the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects 2017. The visualization customizes both axes, removing default domain lines and using a custom tick format that abbreviates large numbers with ‘B’ for billions on the x-axis. Built with D3 v5, it uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render an SVG, with horizontal gridlines and a steelblue bar fill.