Customizing Axis
This example visualizes the top 10 most populous countries using a horizontal bar chart, with population values formatted in billions. The code imports specific D3 modules like `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the scales and axes. A custom tick formatter using `format('.3s')` replaces the default "G" suffix with "B" for billions. The chart renders in SVG, pulls data from a CSV file, and removes the y-axis domain line for a cleaner presentation.