Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
EEric Torres
Last edited Nov 8, 2021
Created on Nov 8, 2021

This bar chart displays the population of the top nine most populous countries, based on 2019 estimates from the United Nations World Population Prospects. The visualization uses d3.csv to load data and d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom for the axes. Each country’s population is rendered as an SVG rectangle with a steelblue fill. The chart is built with D3 v5 and uses an SVG container sized at 960 by 500 pixels.

AI-generated description

This bar chart shows population of the top most populous countries. The data comes from the year 2019 estimate in United Nations: World Population Prospects 2019.

MIT Licensed

Similar vizzes