Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Llingfa
Last edited Oct 31, 2022
Created on Oct 31, 2022
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as horizontal bars, with population values formatted in billions. The chart uses React components to render SVG elements, with D3’s `scaleBand` and `scaleLinear` mapping country names and population counts to screen coordinates. Axes and marks are generated through custom React components, and the data comes from the United Nations World Population Prospects 2019, loaded via D3’s `csv` function. Styling applies the Poppins font with teal bars and gray tick lines.

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