Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
VVasanth-sureshkumar
Last edited May 12, 2022
Created on May 12, 2022
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries using 2018 estimates from the UN World Population Prospects. It builds on a basic bar chart tutorial, adding customized axes where the x-axis uses tick formatting with `d3.format('.3s')` and gridlines via `tickSize`. The chart uses D3 v5 with `scaleLinear` for population and `scaleBand` for country categories, rendering as SVG with red 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