Skip to main content
100%

Rendering Data with React & D3

✓ Published0🌍 Public
LLicheng Zhang
Last edited May 25, 2021
Created on May 23, 2021
Forked from Mouse Follower

This example shows the ten most populous countries from a 2019 UN population dataset, rendered as horizontal bars in an SVG chart. React 16 manages the component state and loading screen, while D3 v6 utilities (`csv`, `scaleBand`, `scaleLinear`, `max`) handle data fetching and scaling. The code converts each country’s 2020 population value to a numeric field and maps it to a bar width using a linear scale, with bands for each country name.

AI-generated description

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

MIT Licensed

Similar vizzes