Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

9d13135aea754799b55f5972d005e1f6

Fork of Fork of Fork of Fork of Stylized Bar Chart

0 stars1🌍 Public
HHaileabGH
Last edited Dec 6, 2021
Created on Dec 6, 2021

This interactive bar chart displays the top 10 most populous countries in 2020, using data from the United Nations World Population Prospects 2019. Built with React and D3 v5, it renders an SVG with horizontal bars, axes, and tooltips. The y-axis uses a band scale for categorical country names, while the x-axis applies a linear scale with SI-formatted tick labels (e.g., “1.4B”). The code splits visualization logic across separate components for axes and marks, loading CSV data via the `useData` hook and `d3.csv`.

AI-generated description

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

Data: United Nations World Population Prospects 2019.