Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
CCarlos Montalvo-Ghigliotty
Last edited Dec 8, 2018
Created on Dec 8, 2018

This bar chart displays the populations of the ten most populous countries, based on 2018 estimates from the United Nations' World Population Prospects. It uses D3 v5 APIs including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load data, map values to positions, and render axes as SVG. Population values are multiplied by 1000 and represented as horizontal bars, with country names on the y-axis and population on the x-axis. The chart is styled with steelblue rectangles and larger text for readability.

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