Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Mmellerjakub88
Last edited May 13, 2019
Created on May 13, 2019
Forked from Making a Bar Chart

A bar chart displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects 2017. The visualization reads data from a CSV file and renders each country as a rect element in an SVG canvas. The code uses d3.select, d3.csv, and d3’s data join to append rectangles, with population values converted to thousands and a fixed bar size. The chart is drawn in steelblue.

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