Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
MMarcelo
Last edited Apr 9, 2021
Created on Apr 9, 2021
Forked from Stylized Bar Chart

This example shows a horizontal bar chart of the top 10 most populous countries, using a stylized teal color scheme and Poppins font. The chart is rendered as an SVG via React, with D3 v5 utilities for data loading and scaling. Axes are drawn using `scaleBand` for the categorical country names and `scaleLinear` for population, formatted with D3's `format` function to abbreviate billions as "B". Data comes from the UN World Population Prospects 2019 CSV.

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