Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
JJoel Schwartz
Last edited Apr 7, 2020
Created on Apr 7, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the ten most populous countries in 2020, with population values shown on the x-axis and country names on the y-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to position rectangular marks, while `AxisBottom` and `AxisLeft` render tick lines and labels with a Poppins font. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Hovering over a bar reveals a tooltip with the formatted population, using the `title` element.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes