{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example shows a color wheel visualization built from CSS named colors, with each slice of the pie representing one color from the dataset. The code loads the data using D3’s `csv` utility and manages the asynchronous state with React’s `useState` and `useEffect` hooks. The pie layout is generated with `d3.pie`, and each slice is rendered as an SVG path using `d3.arc`. The fill color of each path is taken directly from the `RGB hex value` column in the loaded CSV data, creating an immediate visual mapping between the data and its representation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/57537c13701242adb3ae397cc951e7fe?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}