Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart Countries Population

Public visualization

Viewing a saved revision (read-only)

242a0ed3ec0e4763902e1490233490d8

Bar Chart Countries Population

0 stars1🌍 Public
OOleg Zhernovoy
Last edited Nov 27, 2022
Created on Nov 27, 2022

This bar chart displays the top 10 most populous countries in 2020, using horizontal bars where length represents population. The visualization is rendered as an SVG via React, with scales created using d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis. Data is loaded asynchronously from a CSV file containing UN Population data, fetched with d3.csv. Each country is drawn as a rectangle with width proportional to its population value.

AI-generated description