Skip to main content
100%

Fork of Fork of Stylized Bar Chart

✓ Published1🌍 Public
Ssudeepmathew
Last edited Oct 22, 2021
Created on Oct 22, 2021

This example displays the ten most populous countries as horizontal bars, with country names on the y-axis and population totals on the x-axis, formatted in billions. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to position bars and axes, rendered as SVG rectangles with native tooltips. The data comes from the United Nations World Population Prospects 2019 CSV, loaded via `d3.csv` and sliced to the top ten entries.

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