Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Customizing Axes

Public visualization

Viewing a saved revision (read-only)

0f18d639fc91477ea5e1fa05a36ffd85

Fork of Customizing Axes

0 stars0🌍 Public
SSadafNaseem
Last edited Oct 5, 2021
Created on Aug 26, 2021
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries, with population values sourced from the United Nations World Population Prospects 2017. It demonstrates D3 axis customization, using `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` to render formatted tick labels. The SVG chart is styled via CSS, with grid lines and custom fonts. Data is loaded from a CSV file and scaled by 1000.

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.