Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

my Bar Chart

Public visualization

Viewing a saved revision (read-only)

d2ec410778024fc7ab20f1e7de79223d

my Bar Chart

0 stars0🌍 Public
LLenin Khangjrakpam
Last edited Sep 7, 2022
Created on Sep 6, 2022
Forked from Stylized Bar Chart

This bar chart displays the ten most populous countries in the world for 2020, using horizontal bars sorted by population. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Bars are rendered as SVG `<rect>` elements, with D3’s `format` for tick labels and a tooltip on each bar.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.