{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example displays CSS named colors as a full-circle pie chart, where each slice is colored with its corresponding hex value. It uses React hooks, specifically `useState` and `useEffect`, to asynchronously load the CSV data with D3’s `csv` function. The chart is rendered as SVG, with D3’s `arc` and `pie` generators computing the slice paths, and each path’s fill set from the `RGB hex value` column in the dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/622763ea16834180aab6d83ad31828c7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}