Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Customizing Axes

Public visualization

Viewing a saved revision (read-only)

63a129fe706542dc85ab9cfa4edd0163

Fork of Customizing Axes

0 stars0🌍 Public
CCristiano
Last edited Jan 11, 2024
Created on Jan 11, 2024
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. It features customized axes with shortened population labels (e.g., "1.41B") and a clean, sparse design. The visualization uses D3 v5 with `scaleBand` and `scaleLinear`, plus `axisBottom` and `axisLeft` for ticking. The SVG render includes horizontal grid lines and a labeled x-axis, demonstrating explicit axis customization through tick formatting and removal of default decorations.

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.