Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

e9af9f5e9ae4458baaa843ce9e9232af

Fork of Fork of Making a Bar Chart

0 stars0🌍 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.