Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

4475e743ea6f421e8e1377857b8e74e4

Fork of Making a Bar Chart

0 stars1🌍 Public
Zzenoe
Last edited Sep 25, 2021
Created on Sep 25, 2021
Forked from Making a Bar Chart

This bar chart visualizes the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It uses d3.scaleLinear for the x-axis, d3.scaleBand for the categorical y-axis, and d3.axisLeft and d3.axisBottom with customized tick formatting to label values in billions. Data is loaded from a CSV file, and the SVG rendering includes styled rectangular bars with steelblue fill.

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.