Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Eetiosa
Last edited Jan 23, 2021
Created on Jan 20, 2021
Forked from Customizing Axes

This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects 2017. The visualization builds on a basic bar chart by customizing its axes, removing default domain lines and ticks for a cleaner look, and formatting population labels to abbreviate large numbers (e.g., using "B" for billions). It uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, with data loaded from a CSV file and rendered as SVG rectangles.

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