Customizing Axis
This bar chart displays the top 10 most populous countries, with population values formatted in billions using a custom tick formatter that replaces "G" with "B" in d3.format output. The chart uses d3.csv, scaleLinear, scaleBand, axisBottom, and axisLeft to render horizontal bars, with gridlines extending from x-axis ticks. A title and axis label are added via SVG text elements, and the y-axis domain lines and tick marks are removed while the x-axis domain is hidden, leaving a clean, focused visualization.