Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
SSofi
Last edited May 10, 2021
Created on May 10, 2021
Forked from Stylized Bar Chart

This example shows the ten most populous countries in 2020 as horizontal bars, sorted by population, with a labeled x-axis formatting values in billions. The chart is built with React and D3 v5, using a `scaleBand` for the y-axis and a `scaleLinear` for the x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Each `<rect>` mark includes an SVG `<title>` element for tooltips. Styling uses Poppins font and custom colors for bars and axes.

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