Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
VVincent Ko
Last edited Mar 21, 2019
Created on Mar 21, 2019
Forked from Making a Bar Chart

This bar chart displays the population estimates for the top 10 most populous countries in 2018, based on data from the United Nations World Population Prospects. The visualization uses d3.csv to load the data and d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to map population values and country names to the SVG canvas. Bars are rendered as SVG rectangles, with axes drawn to show the population scale and country labels. The chart is built with D3 v5 and styles the bars in steel blue.

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