Skip to main content
100%

Fork of Making a bar chart (customized axes)

✓ Published0🌍 Public
AAbdouEnsaj
Last edited Jul 27, 2022
Created on Jul 27, 2022

This bar chart visualizes the population of the top 10 most populous countries using data from the 2018 United Nations World Population Prospects, with values scaled by a thousand. It demonstrates customizing D3 axes by removing default domain lines, using a custom tick formatter that converts numbers to billion units, and applying styled horizontal grid lines. The visualization is rendered as an SVG using D3 v5's `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, with data loaded 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.

MIT Licensed

Similar vizzes