Tweaking Axes
✓ Published0🌍 Public
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 descriptionThis bar chart shows population of top 10 most populouated countries. The data comes from year 2020 estimate in World Population Prospects 2020.
MIT Licensed