Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

44fdb288662b4858b232e0e8660a1661

Stylized Bar Chart

0 stars1🌍 Public
AAriana
Last edited Jul 27, 2021
Created on Jul 23, 2021

A stylized bar chart displays the top 10 most populous countries for 2020, using horizontal bars ordered by population. The visualization is built with React and rendered as an SVG, leveraging D3 v5’s `scaleBand` and `scaleLinear` for axis scaling and `format` for tick labels. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Custom components (`AxisBottom`, `AxisLeft`, `Marks`) structure the chart, with tooltips showing formatted population values on hover.

AI-generated description

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

Data: United Nations World Population Prospects 2019.