Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Pparsonsdjp
Last edited Jan 4, 2023
Created on Jan 4, 2023
Forked from Customizing Axes

This fork of a bar chart customization example displays the 2018 population estimates for the ten most populous countries, sourced from the United Nations World Population Prospects. The chart uses D3 v5 to render an SVG, with a linear scale mapping population counts to bar widths and a band scale for the categorical country axis. Axis customization is evident through styled tick marks, labels, and formatting via the `axisLeft`, `axisBottom`, and `format` APIs.

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