Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
BBraja Gopal Das
Last edited Apr 19, 2019
Created on Apr 13, 2019
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The code loads data from a CSV and renders circles positioned by a linear scale for population and a point scale for country names. It uses d3.scaleLinear, d3.scalePoint, d3.axisLeft, and d3.axisBottom, with a custom margin and tick formatting. The SVG output includes labeled axes and a title.

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