Skip to main content
100%

Fork of Fork of Making a Bar Chart

✓ Published0🌍 Public
Aanummunirmughal
Last edited May 15, 2023
Created on May 15, 2023

This bar chart shows the population of the top 10 most populous countries, based on 2018 estimates from the United Nations’ World Population Prospects. It uses D3 v5’s `select`, `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `format` APIs to render the SVG. The population values are multiplied by 1000 from the CSV data, and axis ticks use a custom formatter to convert values to billions. The chart includes a title, axis label, and horizontal grid lines.

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. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes