Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

0ec456fe77024761bda1b43746fa5684

Fork of Stylized Bar Chart

0 stars0🌍 Public
HHaowenWeiJohn
Last edited Feb 19, 2021
Created on Feb 19, 2021
Forked from Stylized Bar Chart

This fork of a stylized bar chart displays the top 10 most populous countries, using horizontal bars to compare populations from the 2019 United Nations World Population Prospects dataset. The visualization is built with React and D3 v5, using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The SVG rendering includes custom axes and marks, with tooltips formatted via D3's `format`. The data is loaded asynchronously via `useData`, fetching a CSV to populate the chart.

AI-generated description

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

Data: United Nations World Population Prospects 2019.