Customizing Axes
This bar chart displays the population of the top ten most populous countries, with data from the UN’s 2020 World Population Prospects estimate. The visualization customizes both axes: a horizontal linear scale formats tick labels (e.g., abbreviating billions as “B”) and draws grid lines, while a vertical band scale removes its axis line and tick marks. D3 v5’s `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` are used, with SVG rendering for bars and labels.