Skip to main content
100%

Untitled

✓ Published1🌍 Public
Iinnocent thomas
Last edited Oct 12, 2021
Created on Oct 11, 2021

This example displays a horizontal bar chart of the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset. The bars are rendered as SVG rectangles using React, with scales from d3.scaleBand and d3.scaleLinear mapping country names and population values. Axes are generated as custom React components, with the x-axis formatted using d3.format to abbreviate numbers in billions. The chart uses a Poppins font and teal-colored bars, with data loading handled asynchronously via d3.csv.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes