Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
VViktorLnt
Last edited Oct 22, 2021
Created on Oct 22, 2021
Forked from Stylized Bar Chart

This interactive bar chart displays the top 10 most populous countries for 2020, using data from the United Nations World Population Prospects 2019. Rendered as an SVG with React and D3 v5, the visualization employs `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with bars styled in a teal color. Axes are drawn using custom components, and hovering over a bar reveals a tooltip via an SVG `<title>` element, which formats population values using D3's `format` function (e.g., converting to 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