Customising Axes
This bar chart displays the populations of the ten most populous countries, based on the United Nations’ 2019 World Population Prospects estimates. The visualization customizes its axes by removing the y-axis domain line and tick marks, formatting x-axis labels in abbreviated form (e.g., “1.43B”), and extending x-axis gridlines across the plotting area. Built with d3.v5’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, the chart renders as an SVG, with population values scaled by 1,000.