Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Viewing a saved revision (read-only)

3c96861529994cc79c17dc38b8a4de16

Fork of Rendering Data with React & D3

0 stars0🌍 Public
SStoockbroker
Last edited Jan 24, 2021
Created on Jan 24, 2021

This example visualizes CSS named colors as a radial burst, with each color rendered as a colored div. It loads color data from a remote CSV file using the `csv` function from D3 v5, and manages the asynchronous data fetching with React’s `useState` and `useEffect` hooks. The React app displays a “Loading...” message until the data arrives, then maps each row to a div whose background color is set from the data’s `color` field. The visualization is built with React 16.9 and uses D3 solely for data parsing.

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!