Making a Bar Chart
✓ Published1🌍 Public
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" framebordeMIT Licensed