{"version":"1.0","type":"rich","title":"Lendo dados com React & D3","description":"This example shows a donut chart of CSS named colors, where each color is represented by a wedge filled with its own RGB hex value. The visualization loads color data from a CSV file using D3’s `csv` utility and manages the asynchronous data with React’s `useState` and `useEffect` hooks. Each wedge is rendered as an SVG `path` computed with D3’s `arc` generator, using angles proportional to the data index. The chart appears inside a React component that displays a loading message until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/94a44e9e692b46d0abec33292d443e4f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}