Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
CConnor Bailey
Last edited Dec 7, 2019
Created on Dec 7, 2019

A horizontal bar chart displays the populations of the ten most populous countries using 2018 estimates from the World Population Prospects 2017 dataset. The chart uses D3 v5’s `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load data and render SVG axes and rectangles. Population values are converted from thousands and scaled to bar widths, with country names positioned on the y-axis.

AI-generated description

This bar chart shows population of the top 10 most populous contries. The data comes form the year 2018 estimate in World Population Prospects 2017.

MIT Licensed

Similar vizzes