Fork of Pie chart in React & D3 - 1st attempt
✓ Published0🌍 Public
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 descriptionMIT Licensed