Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published1🌍 Public
FFulvio Vigilante
Last edited Jul 15, 2021
Created on Jul 14, 2021

This example shows a bar chart of the ten most populous countries in 2020, using a horizontal layout where bar length encodes population size. It loads data from a CSV file containing UN population estimates, parses the population column as a number, and filters to the first ten rows. React manages the component state, while D3’s `csv` loader, `scaleBand` for country categories, and `scaleLinear` for population values determine the SVG rectangle positions and dimensions.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to rendere the data.

MIT Licensed

Similar vizzes