🌍 Public
Viewing a saved revision (read-only)
0aa85e891e0d41128a1beb94de102b15
Fork of Fork of Loading data with React & D3.
This example shows a pie chart of CSS named colors, with each slice filled by its corresponding RGB value. The code uses React’s `useState` and `useEffect` hooks to load a CSV from GitHub via `d3.csv`, then renders SVG paths with the `d3.arc` generator. The data source is a public gist containing color names and hex values.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.