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)

356b99b7edd94a66af86d6819c6cac4d

Fork of Stylized Bar Chart

0 stars0🌍 Public
WWarren T. Armstrong
Last edited Dec 17, 2021
Created on Dec 17, 2021
Forked from Stylized Bar Chart

This bar chart visualization displays the top 10 most populous countries using United Nations World Population Prospects 2019 data. Built with React and D3 v5, it renders scalable vector graphics (SVG) bars with axis labels and tooltips showing population values formatted in billions. The code uses D3’s `scaleBand`, `scaleLinear`, `max`, and `format` functions to construct the chart, with data loaded asynchronously via `d3.csv` and React hooks managing state and effects.

AI-generated description

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

Data: United Nations World Population Prospects 2019.