Customizing Axes
This bar chart displays the populations of the ten most populous countries using 2018 estimates from the United Nations World Population Prospects 2017, with values converted to millions via `d3.format` and county names on a band scale. It demonstrates custom D3 axes: the y-axis removes its domain and tick lines, while the x-axis applies a custom tick formatter and full-height tick marks, with an axis label appended via `axisBottom`. The data is loaded from a CSV using `d3.csv` and rendered as SVG rectangles with `scaleLinear` and `scaleBand`.
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.