Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customized axes

Public visualization

Viewing a saved revision (read-only)

c11fa03efd124fe19c84bf5cd4467ad6

Customized axes

0 stars1🌍 Public
AAnthony Ynami
Last edited Feb 17, 2021
Created on Feb 17, 2021
Forked from bar chart test

This bar chart displays the populations of the top 10 most populous countries using 2020 estimates from the United Nations World Population Prospects. The visualization uses D3 v6 with SVG rendering, employing scaleLinear and scaleBand for axes. The chart customizes axes through the axisBottom and axisLeft APIs, formatting population values with d3.format and replacing 'G' with 'B' for billions. Gridlines are created via tickSize, and both axis domains and tick lines are selectively removed for a cleaner presentation.

AI-generated description

This bar chart shows the population of the top 10 most populous countries . The data comes from the year 2020 estimate in United Nations: World Population Prospects 2020.