Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Ddleese1
Last edited Oct 18, 2020
Created on Oct 18, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. Built with React and D3 v5, it renders bars as SVG rectangles positioned by a scaleBand and scaleLinear, with axis labels and tick formatting using d3.format. A native canvas element measures text width to position the axis label, while tooltips provided by SVG title elements reveal population values in billions.

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