Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

96e1a8307d5948179f9d8c0a11a094f2

Making a Bar Chart

0 stars1🌍 Public
Aadvaitkulkarni08
Last edited Dec 28, 2019
Created on Dec 28, 2019
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. Built with D3 v5 and rendered as SVG, the example uses `d3.csv` to load the data, `scaleLinear` and `scaleBand` for scales, and `axisLeft` and `axisBottom` for customizable axes, with bars styled via CSS.

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. It also demonstrates customization of D3 axes.

<iframe width="560" height="315" src="https://www.youtube.com/embed/NlBt-7PuaLk?rel=0" frameborde