Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
KKim Hughes
Last edited Jun 7, 2019
Created on Jun 7, 2019

This bar chart displays the populations of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart is rendered as an SVG graphic, with each country represented by a blue bar. The code employs D3 v5’s `scaleLinear` for the population axis and `scaleBand` for the country axis, drawing axes with `axisLeft` and `axisBottom`, while reading the data 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.

MIT Licensed

Similar vizzes