Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Rraghesh99
Last edited Feb 6, 2021
Created on Feb 6, 2021
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization customizes D3 v5 axes with d3.scaleLinear and d3.scaleBand, using d3.axisBottom and d3.axisLeft for tick formatting and gridlines. Bar widths correspond to population values, with labels styled via CSS classes. The chart is rendered as SVG, with data loaded from a CSV file and formatted using d3.format to abbreviate large numbers.

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