Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes of Bar Chart w/ D3

Public visualization

Viewing a saved revision (read-only)

f20ece502bf640138ad787cc937a7ecd

Customizing Axes of Bar Chart w/ D3

0 stars1🌍 Public
GGabe Nascimento
Last edited Oct 14, 2021
Created on Oct 14, 2021

This bar chart visualizes the population of the top 10 most populous countries, using 2018 estimates from the UN’s World Population Prospects. The chart uses a linear scale for the population axis and a band scale for country names, with custom tick formatting that converts SI units (e.g., G to B). Population values are scaled by 1000. The D3 code removes default domain lines and tick marks, adds axis labels, and renders the bars in SVG.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in World Population Propsects 2017.