Skip to main content
100%

Stylized Bar Chart

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

MIT Licensed

Similar vizzes