Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart Countries Population

Public visualization

Viewing a saved revision (read-only)

3562e1528c494173868b77817f90ac85

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