Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
NNYCUBK201
Last edited Sep 18, 2023
Created on Sep 18, 2023
Forked from Customizing Axes

This bar chart visualizes the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization uses d3.scaleLinear and d3.scaleBand to map population values and country names, with d3.axisLeft and d3.axisBottom for custom axes, including tick formatting that converts billions to abbreviated labels. The SVG rendering applies custom margins, tick lines, and axis labels, with data loaded via d3.csv and population values multiplied 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.

MIT Licensed

Similar vizzes