🌍 Public
Viewing a saved revision (read-only)
932f10d5c3cf44878f1e85e2879ba1ef
render data with React and d3
A full-circle pie chart displays all 148 CSS named colors by loading data from a GitHub gist via `d3.csv`. React manages the data state and renders each color as an SVG path using `d3.pie` to compute angles and `d3.arc` to generate the path geometry. The visualization shows every color as a single slice, filled with its corresponding hex value, demonstrating a minimal integration of React’s declarative component model with d3’s data utilities and SVG rendering.
AI-generated descriptionProgram that loads in some data about CSS named colors using d3 utilities and uses React render the data.