Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
YYuqi Liao
Last edited Aug 15, 2021
Created on Aug 15, 2021
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries using a stylized horizontal bar chart. It uses React to render the SVG markup and D3’s `scaleBand` and `scaleLinear` for positioning bars, with data from the United Nations World Population Prospects 2019. The code also formats tick labels with D3’s `format` and includes a native SVG `<title>` tooltip. The chart features a clean aesthetic with Poppins font and muted color accents.

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