Skip to main content
100%

Population bar chart

✓ Published1🌍 Public
OOlof Ollerstam
Last edited Apr 22, 2021
Created on Apr 15, 2021

This example visualizes the 2020 populations of the ten most populous countries using horizontal bars, with country names on the y-axis and population counts on the x-axis. The visualization is implemented as a React component that loads CSV data through the d3.csv utility, then renders scaled SVG rectangles using d3.scaleBand and d3.scaleLinear for positioning and sizing. Data for each country is parsed from the UN Population 2019 dataset.

AI-generated description

A program that loads in some data about CSS named color data using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes