A Bar Chart of the Top 10 Most Populous Countries
✓ Published0🌍 Public
YYUXUE LIU
Last edited Mar 2, 2020
Created on Mar 2, 2020
This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization encodes country names on a band scale and population values on a linear scale, with steel-blue rectangles representing each value. Built with D3 v5, the code uses `csv` for data loading, `scaleBand` and `scaleLinear` for scales, and `axisLeft` and `axisBottom` for axes. SVG rendering is used throughout, with margins creating an inner plotting area for the chart elements.
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].
MIT Licensed