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)

6ec86615999a44109e68e26ed2bb614a

Fork of Rendering Data with React & D3

0 stars0🌍 Public
SSrividya Panchagnula
Last edited May 9, 2023
Created on May 9, 2023

This example visualizes CSS named colors as a radial burst, with each color represented by an equal-sized arc emanating from the center of an SVG canvas. The React component loads the color dataset using D3’s `csv` utility, then uses D3’s `pie` layout and `arc` generator to compute and render the paths. Each path’s fill is set from the `RGB hex value` column in the data, while React manages the component state and rendering lifecycle.

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!