Customizing Axes
This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization demonstrates customized D3 axes: the x-axis uses a tick format that abbreviates large numbers (converting 'G' to 'B' for billions) and extends grid lines across the chart, while the y-axis removes its domain and tick lines for a cleaner look. The population values are multiplied by 1,000 to represent actual figures. The chart is rendered as an SVG using d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis.