Customizing Axes
This bar chart shows the top 10 most populous countries from the 2018 United Nations population estimates. It demonstrates customized D3 axes, with a bottom axis formatted using `format('.3s')` to abbreviate large population numbers, and a left axis stripped of its line and domain. The chart uses `scaleLinear` for population and `scaleBand` for country names, with tick lines spanning the full inner height. The data comes from a CSV file loaded via `csv('data.csv')`, and the chart is rendered as SVG.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.