Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Ppinardag
Last edited Jan 22, 2019
Created on Jan 22, 2019
Forked from Customizing Axes

This bar chart displays the populations of the top 10 most populous countries from the 2018 United Nations World Population Prospects. It uses D3 v5.6.0 with an SVG rendering. The code customizes axes by removing the default y-axis domain and ticks, and by formatting x-axis tick labels with a custom `format('.3s')` function to replace 'G' with 'B'. It also adds custom axis labels and a title using SVG text 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.

MIT Licensed

Similar vizzes