Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars1🌍 Public
杳杳然 Flaneur
Last edited Apr 10, 2020
Created on Apr 10, 2020
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous U.S. counties, using data from the 2018 United Nations World Population Prospects estimate via a CSV file. The visualization focuses on customizing D3 axes: the y-axis uses `scaleBand` with tick lines removed, while the x-axis uses `scaleLinear` with a custom tick formatter that abbreviates numbers using `d3.format`. The chart also adds an axis label and title, with styling applied through CSS classes.

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.

Comments

Sign in to join the discussion.

MIT Licensed