Skip to main content
100%

Fork of Rending data with react

✓ Published0🌍 Public
JJacob Pingel Lauridsen
Last edited Jan 13, 2023
Created on Jan 13, 2023

This visualization displays CSS named colors as a full radial burst, with each color represented by a wedge whose fill matches its RGB hex value. The code loads color data from a CSV file using `d3.csv`, then computes the pie layout with `d3.pie` and renders the arcs via `d3.arc` inside an SVG. React manages the component state, rendering each path with a fill derived from the data’s `'RGB hex value'` column, while D3 v7 handles the data loading and geometry calculations.

AI-generated description

A program that loads in some data about CSS named colors using D3 utillities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes