Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

85563b7dcff948ffb20a8ff188d9e659

Customizing Axes

0 stars0🌍 Public
Kkalokli8
Last edited Apr 1, 2020
Created on Apr 1, 2020
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, using data from the United Nations World Population Prospects 2017. It demonstrates customized D3 axes, including a formatted bottom axis that converts large numbers to abbreviated units and removes tick lines for a cleaner look. The visualization uses D3 v5 APIs such as `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` to render SVG rectangles with steelblue fill. The chart hides unnecessary axis domains and adds custom labels and a title.

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.