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)

1d6ac84aeaf6442f860d837e51f78f56

Fork of Rendering Data with React & D3

0 stars0🌍 Public
Jjasonamey
Last edited Sep 22, 2023
Created on Sep 22, 2023

This example visualizes CSS named colors as a radial burst, where each color is represented by a slice of a pie chart. It loads color data from a CSV file using D3's `csv` utility, then computes the arc paths with `d3.pie` and `d3.arc`. React handles rendering the SVG paths, while D3 manages the data parsing and geometry. The final output is a colorful circular layout that displays the full spectrum of named web colors.

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!