Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Rendering Data with React & D3

Public visualization

Rendering Data with React & D3

0 stars1🌍 Public
TTrustPaul
Last edited Nov 26, 2020
Created on Nov 26, 2020

A radial burst of concentric, color-coded arcs shows the full CSS named color palette, with each arc segment representing a single color from the dataset. The visualization loads the `cssNamedColors.csv` file using D3's `csv` utility and arranges the segments with D3's `pie` layout function, while React handles the SVG rendering of each `<path>` element. The arcs are drawn using D3's `arc` function with inner and outer radii, with each segment's fill color directly referencing the `RGB hex value` from the data.

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