🌍 Public
Viewing a saved revision (read-only)
51a2d5522f85404fb5cb2cc714c1daaf
Fork of Rending data with react
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 descriptionA program that loads in some data about CSS named colors using D3 utillities, and uses React to render the data as a radial burst!