Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Axes with React & D3

Public visualization

Fork of Axes with React & D3

0 stars0🌍 Public
FfaridTalmat
Last edited Nov 19, 2021
Created on Nov 19, 2021

This visualization displays the top 10 most populous countries as a horizontal bar chart, using a fork of React and D3. It renders SVG bars scaled by population, with x-axis ticks and y-axis country labels. The code uses React hooks (`useState`, `useEffect`) to fetch and manage data, alongside D3 v5 scales (`scaleBand`, `scaleLinear`), `csv` parsing, and `max` aggregation. Data comes from the United Nations World Population Prospects 2019 dataset via a provided URL.

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.

Comments

Sign in to join the discussion.

MIT Licensed