Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data with React & D3

Public visualization

Loading Data with React & D3

0 stars0🌍 Public
NNitin Vadhiya
Last edited Oct 15, 2021
Created on Oct 12, 2021

A radial burst of CSS named colors loads from a remote CSV file using the D3 `csv` fetch utility, then renders each color as a pie slice via React. The SVG visualization, centered on a 960×500 canvas, uses the `d3.arc` and `d3.pie` APIs to compute arcs, with each slice’s fill set from the row’s RGB hex value. A loading placeholder appears while the data is pending.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed