Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Hheartbreaks
Last edited Jan 30, 2023
Created on Jan 17, 2023
Forked from Customizing Axes

This bar chart displays the population of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization customizes D3 axes with a linear x-axis using population values and a banded y-axis for country names, applying tick formatting that converts abbreviations like ‘B’ for billions. Built with D3 v5, the SVG chart uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render bars and grid lines, with data loaded from a CSV file.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes