Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Ddankvader1
Last edited Jul 5, 2022
Created on Jul 5, 2022
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization demonstrates axis customization, removing default axis lines and tick marks while styling remaining elements. Built with D3 v5, it uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs. The chart formats population values with a custom tick formatter that converts large numbers to abbreviated strings, and renders data as SVG rectangles with a steelblue fill.

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