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)

ef0f019d7b7f4ac6811db09265c3a949

Fork of Rendering Data with React & D3

0 stars0🌍 Public
Ggeorgie-flood
Last edited Oct 17, 2023
Created on Oct 17, 2023

A radial burst of CSS named colors displays each color as a wedge in a full circle, filling the SVG canvas with a vibrant spectrum. The code loads color data from a CSV file using `d3.csv`, then processes it with `d3.pie` to compute arc angles and `d3.arc` to generate SVG path geometries. React manages the component state and rendering, updating the visualization once the data arrives via `useState` and `useEffect`.

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!