Skip to main content
100%

Making a Bar Chart

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

This bar chart ranks the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects. The population data from a CSV file is scaled on a linear axis, with country names placed along an ordinal point scale. Using D3 v5, the code loads the data with `d3.csv`, renders axes via `d3.axisBottom` and `d3.axisLeft`, and draws steel-blue circles for each bar. Gridlines are extended through the chart area, and the visualization is output as SVG with formatted tick labels.

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