Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Yylzami40
Last edited Nov 26, 2019
Created on Nov 26, 2019
Forked from Customizing Axes

This bar chart visualizes the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. It shows population values on a horizontal axis with country names on a vertical axis, using D3’s `scaleLinear` and `scaleBand`. The example demonstrates axis customization, including a custom tick format that abbreviates numbers and converts G to B, and removes default axis lines and ticks. It builds on a previous bar chart example, rendering in SVG with D3 v5.

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