Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

eb5d1aa16d094606abdc70e194c21c31

Stylized Bar Chart

0 stars0🌍 Public
JJulianWgs
Last edited Dec 25, 2019
Created on Dec 25, 2019
Forked from Stylized Bar Chart

A stylized bar chart displays the top 10 most populous countries in 2020, using horizontal bars with population values on a linear scale. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Custom `AxisBottom` and `AxisLeft` components render tick marks and labels, while `Marks` generates rectangles with tooltips. Data comes from the United Nations World Population Prospects 2019, loaded via d3.csv and formatted with `d3.format` to abbreviate values (e.g., "1.4B").

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.