Fork of Pie chart in React & D3 - 1st attempt
✓ Published0🌍 Public
A React and D3 pie chart renders four slices with a color scale interpolated from #eaaf79 to #bc3358 using d3.interpolateRgb. The chart uses d3.pie() and d3.arc() to compute and draw each SVG path, with inner and outer radii defining a donut shape. A secondary component defines a checkered color ramp from #0F8C79 to #f2f2f2, though it is commented out. Unused legend data for five named categories is declared but not rendered.
AI-generated descriptionMIT Licensed