Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes