Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Fork of Rendering Data with React & D3

0 stars0🌍 Public
Gguptambergatech
Last edited Jan 8, 2022
Created on Jan 8, 2022

This example shows the complete set of CSS named colors as a radial burst of pie slices, with each slice filled by its corresponding RGB hex value. The visualization uses D3’s `csv` loader to fetch color data, `pie` and `arc` generators to compute slice geometry, and React to render the SVG paths. The chart is centered with a fixed width and height, and a loading state appears while data is fetched. The code demonstrates combining D3’s data manipulation with React’s declarative component rendering.

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!

Comments

Sign in to join the discussion.

MIT Licensed