🌍 Public
Viewing a saved revision (read-only)
afd28fb399db4a2caa11bb9ecf1e1e88
Fork of Pie chart in React & D3 - 1st attempt
A React and D3 pie chart renders five categorical slices with a color scale interpolated from peach to deep red via `d3.interpolateRgb`. The chart uses `d3.pie()` to compute arc angles and `d3.arc()` to generate SVG paths, with an inner radius creating a donut effect. An unused `Check` component demonstrates a separate linear gradient of rectangles, though it is commented out and not part of the final SVG output.
AI-generated description