Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart top 30 Countries Population (vertical) with CSV

Public visualization

Bar Chart top 30 Countries Population (vertical) with CSV

0 stars1🌍 Public
CChawin Sungwalngern
Last edited Dec 20, 2022
Created on Dec 20, 2022
Forked from Hello VizHub

This bar chart displays the population of the top 30 countries in 2020, with a vertical layout where each country is listed along the y-axis and population counts extend horizontally. The data originates from the Kaggle World Population Prospects 2020 dataset, loaded as a CSV. The visualization uses D3 v5 with scaleLinear, scaleBand, axisLeft, and axisBottom to position bars and axes, while customizing tick formatting to abbreviate numbers with suffixes like “B” for billions. The SVG rendering includes styled rectangles and a custom font from Google Fonts.

AI-generated description

This bar chart shows population of the top 30 countries. The data comes from the year 2020 Kaggle: World Population Prospects 2020. It also demonstrates customization of D3 axes.

Comments

Sign in to join the discussion.

MIT Licensed