Fork of Customizing Axes
This bar chart displays the estimated 2018 populations of the ten most populous countries, sourced from the UN World Population Prospects and loaded via `d3.csv`. It showcases customized D3 v5 axes: the bottom axis uses a `.tickFormat` with `d3.format` to abbreviate numbers (e.g., “1.4B”), and both axes have their domain lines removed. The chart uses `d3.scaleLinear` for population and `d3.scaleBand` for countries, with static axes 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.