Customizing Axis
✓ Published1🌍 Public
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 descriptionThis 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