Customizing Axes
This bar chart displays the populations of the world’s ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. It highlights how D3 axes can be customized for appearance and readability. The visualization uses d3.csv, d3.scaleLinear, d3.scaleBand, and d3.axisLeft to render countries along the vertical axis and population values as horizontal bars. SVG elements are styled via external CSS, with tick labels, grid lines, and text sizes adjusted through the .tick class.