{"version":"1.0","type":"rich","title":"Fork of Pie chart in React & D3 - 1st attempt","description":"A donut chart in React and D3 renders four slices with a teal-to-black color gradient, generated by `d3.interpolateRgb` and drawn using `d3.pie` and `d3.arc`. React components (`Slice`) map over the pie data to produce SVG `<path>` elements within a centered `<g>` transform. A separate, commented-out `Check` component demonstrates a linear sequence of gradient rectangles using the same interpolation approach.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a3021f976f5b41f3993005271771e5f5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}