Skip to main content
100%

Fork of Customizing Axes

✓ Published1🌍 Public
Mmp7090
Last edited Feb 24, 2021
Created on Feb 24, 2021
Forked from Customizing Axes

This bar chart displays the populations of the top 10 most populous countries in 2018, using estimates from the United Nations World Population Prospects 2017. It demonstrates custom axes: the y-axis labels are simplified by removing tick lines and the domain, while the x-axis uses a custom tick format that abbreviates large numbers and converts 'G' to 'B'. The visualization is built with D3 v5, using `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, and renders as SVG.

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