Customizing axes
This example demonstrates how to customize axes in a bar chart showing the top 10 most populous countries, with population values formatted from raw numbers into abbreviated forms like "200M" using D3's `format` method. The chart removes unnecessary axis lines and gridlines, adds a visualization title, and applies styling from a dataviz style guide. Using D3 v5 with SVG rendering, the code employs `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to build the chart, while custom tick formatting and CSS classes adjust the appearance of text, lines, and labels.