Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
JJohanna Magdalena
Last edited Nov 25, 2021
Created on Nov 25, 2021

This example renders a radial burst of CSS named colors as an SVG, using React to manage the component state and D3 utilities to handle data loading and geometry. The code fetches a CSV of color names and hex values with `d3.csv`, then applies `d3.pie` and `d3.arc` to compute wedge shapes around a central point. Each colored path is filled with the corresponding hex value, while React’s `useState` and `useEffect` hooks coordinate loading and 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!

MIT Licensed

Similar vizzes