Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
AAnthony-coding
Last edited Nov 25, 2019
Created on Nov 15, 2019
Forked from Customizing Axes

This bar chart displays the populations of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospect. It shows population values on a horizontal linear scale, with country names on a vertical band scale. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to construct the chart. A custom tick formatter converts the population numbers into abbreviated units, replacing 'G' with 'B' for billions. Data is loaded from a CSV file using the `csv` method.

AI-generated description

This bar chart show population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospect 2017.

MIT Licensed

Similar vizzes