Customizing Axes
This bar chart displays the top 10 most populous countries, with node distance on the x-axis and node ID on the y-axis, based on a 2018 United Nations population estimate. It demonstrates customizing D3 v5 axes, including tick formatting, tick sizes, removing axis lines, and adding an axis label. The visualization uses `d3.csv`, `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render an SVG with custom styles for ticks, labels, and titles. The data source is the United Nations World Population Prospects 2017.
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.