Making a Bar Chart
✓ Published1🌍 Public
This bar chart displays the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects. It demonstrates axis customization using d3.axisBottom and d3.axisLeft, with a formatted tick label that abbreviates large numbers from billions to "B". The chart loads data from data.csv via d3.csv, scales the population values, and renders steelblue rectangles on an SVG canvas with margin-based layout.
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.
MIT Licensed