Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
PPaul Chen
Last edited Oct 21, 2020
Created on Oct 21, 2020
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as horizontal bars, with country names on the y-axis and population values on the x-axis formatted as billions. The chart is rendered as an SVG using React components, with d3.scaleBand and d3.scaleLinear mapping the data, and d3.format for tick labels. Data comes from the United Nations World Population Prospects 2019 via a CSV loaded asynchronously with d3.csv, and the axes and bars are styled with teal marks and a Poppins font.

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