Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
AAlejandro Zamora Esquivel
Last edited May 30, 2020
Created on May 30, 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. Written in React and rendered as SVG with D3 v5, the visualization uses horizontal bars whose lengths are scaled by population, with axes and tick labels styled using the Poppins font. The code leverages D3's `scaleBand` and `scaleLinear` for positioning, while `AxisBottom`, `AxisLeft`, and `Marks` components handle the chart elements, and tooltips show formatted population values via 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