Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
YYF
Last edited Oct 6, 2018
Created on Sep 26, 2018

This bar chart displays the population of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization uses d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, with d3.axisLeft and d3.axisBottom to render the axes. Data is loaded from a CSV file via d3.csv and rendered as SVG rectangles, with each bar’s width proportional to its country’s population. The chart highlights the vast population disparity between China and India and the remaining nations.

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