Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris dataset

Public visualization

Viewing a saved revision (read-only)

c2729eba8c7c43318b7b7ef4eb8fce42

Iris dataset

0 stars0🌍 Public
YYenTingWu
Last edited Jul 8, 2021
Created on Jul 8, 2021
Forked from Working With Time

This bar chart displays the top 10 most populous countries in 2020, using horizontal bars sorted by population. The visualization is built with React and D3 v5, employing `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. SVG `<rect>` elements represent each country, with axes rendered as custom React components. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv` and formatted with `d3.format`.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.