Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Aansonzhu1997
Last edited Nov 2, 2021
Created on Nov 2, 2021
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to position bars, `csv` to load United Nations World Population Prospects 2019 data, and `format` to abbreviate tick labels (e.g., “1.4B”). The SVG rendering is styled with a teal fill and Poppins font, while hover tooltips show exact values.

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