Making a Bar Chart
✓ Published0🌍 Public
This bar chart displays the population of the ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The chart uses D3 v5 to scale linear axes for population and band axes for country names, rendering the data as steel-blue rectangles with SVG. The code loads comma-separated data from `data.csv` and multiplies the population values by 1000 to reflect actual counts.
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