Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
AAvtandil Gokadze
Last edited Jul 21, 2021
Created on Jul 21, 2021
Forked from Stylized Bar Chart

This interactive bar chart displays the top 10 most populous countries, using horizontal bars to compare population values from the United Nations World Population Prospects 2019 dataset. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with SVG rectangles rendered as marks. The chart features hover tooltips via SVG `<title>` elements, and axes are generated with custom components that leverage D3's tick and scale APIs, with population labels formatted using `format('.2s')`.

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