🌍 Public
Viewing a saved revision (read-only)
a74e5e5b6f5b4a4ab9b7a7526e76b57e
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 descriptionThis 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