Skip to main content
100%

Tweaking Axes

✓ Published0🌍 Public
YYash Goyal
Last edited May 15, 2021
Created on May 15, 2021
Forked from Bar Chart

This horizontal bar chart displays the populations of the top ten most populous countries, using 2020 estimates from the World Population Prospects. The chart renders as an SVG and employs D3 v6 scales, including `scaleLinear` and `scaleBand`, along with `axisLeft` and `axisBottom` for tick marks. The y-axis removes its domain line for a cleaner look, while the x-axis labels abbreviate large numbers using the `format` function, replacing 'G' with 'B' for billions.

AI-generated description

This bar chart shows population of top 10 most populouated countries. The data comes from year 2020 estimate in World Population Prospects 2020.

MIT Licensed

Similar vizzes