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)

c9a4f868142c4cf5aeff44ed9d0e66af

Fork of Rendering Data with React & D3

0 stars0🌍 Public
Lltostes
Last edited Jul 26, 2021
Created on Jul 26, 2021

This visualization renders CSS named colors as a radial burst of slices around a central point, with each slice filled by its corresponding hex value. The code loads color data from a CSV using `d3.csv`, computes slice angles with `d3.pie`, and draws them as SVG paths via `d3.arc`. React handles component state and rendering, updating the chart once the data arrives. The visualization uses React hooks like `useState` and `useEffect` to manage the asynchronous data loading.

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!