Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars0🌍 Public
Bbellotukurm
Last edited Sep 19, 2019
Created on Sep 18, 2019
Forked from Customizing Axes

This bar chart displays the 2018 population estimates for the ten most populous countries, using data from the United Nations World Population Prospects. The visualization highlights how D3 axes can be customized: it employs `d3.scaleBand` for the categorical country axis and `d3.scaleLinear` for the population scale, with `d3.axisLeft` and `d3.axisBottom` creating the axes. Styling via CSS customizes tick text, lines, and labels, while D3’s `select`, `csv`, and `max` functions load and process the data 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.

Comments

Sign in to join the discussion.

MIT Licensed