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)

0da35d96c06a4c4dab365912141c978b

Fork of Rendering Data with React & D3

1 star1🌍 Public
Ggsbeegnnord
Last edited Feb 24, 2022
Created on Feb 24, 2022

This example visualizes CSS named colors as a radial burst of pie slices, each slice filled with its corresponding color. It loads color data from a CSV file using `d3.csv`, then renders the chart as an SVG with React. The code uses `d3.pie` to compute arc angles and `d3.arc` to generate the path geometries, with React managing the component state and DOM updates. The dataset includes color names and hex values from the provided gist.

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!