Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Customizing Axes

Public visualization

Viewing a saved revision (read-only)

a60c58de2669424981a00ff23337705b

Fork of Customizing Axes

0 stars0🌍 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.