Customizing Axes
This bar chart displays the top 10 most populous countries in 2018, based on United Nations World Population Prospects data, with population values presented in billions. The example showcases D3 v5 axis customization, including a linear population scale with a formatted tick label (e.g., “1.42B” for China) and a band scale for country names. Customizations include removing axis domain lines, extending tick marks across the full chart height, and adding styled axis and title text via SVG. The code uses `d3.csv`, `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` to render the visualization.