Skip to main content
100%

Customizing Axis

✓ Published1🌍 Public
AAndrewRiceMGW
Last edited Jan 10, 2021
Created on Jan 10, 2021

This horizontal bar chart displays the populations of the world’s ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. Built with D3 version 6, the visualization uses `scaleLinear` and `scaleBand` to map population values and country names. Custom axis styling removes the chart’s default domain lines, applies tick marks with negative sizing to create a grid, and formats tick labels using `format` to abbreviate numbers, such as converting gigabytes to billions.

AI-generated description

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

MIT Licensed

Similar vizzes