Skip to main content
100%

Fork of Rendering Data with React & D3 FORK

✓ Published0🌍 Public
CChristopher Perisho
Last edited May 20, 2022
Created on May 18, 2022

A radial burst of CSS named colors fills an SVG canvas, with each color represented as an arc segment emanating from the center. The visualization uses D3's `pie` layout and `arc` generator to compute the path geometry, while React handles the component rendering and state management. Data loads asynchronously from a remote CSV file containing color names and their RGB hex values, which are then mapped directly to the `fill` attribute of each `<path>` element. The example demonstrates integrating D3's computational utilities with React's declarative UI paradigm.

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!

MIT Licensed

Similar vizzes