Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the population estimates for the top 10 most populous countries in 2018, based on data from the United Nations World Population Prospects. The visualization uses d3.csv to load the data and d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to map population values and country names to the SVG canvas. Bars are rendered as SVG rectangles, with axes drawn to show the population scale and country labels. The chart is built with D3 v5 and styles the bars in steel blue.
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