Skip to main content
100%

Customizing Axes

✓ Published2🌍 Public
MMarrnj2
Last edited May 18, 2020
Created on May 18, 2020
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries using 2018 United Nations population estimates. It highlights how D3 axes can be customized, including tick formatting, offset tick lines, and the removal of axis domains. The chart uses `d3.csv`, `scaleLinear`, `scalePoint`, `axisBottom`, `axisLeft`, and `format`, with population values multiplied by 1,000 and formatted in billions. Circles mark each country, and the axes include labeled ticks and a title, all rendered as SVG elements.

AI-generated description

This 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.

MIT Licensed

Similar vizzes