{"version":"1.0","type":"rich","title":"d3 Data useState","description":"This example demonstrates a React component that fetches a CSV file from a GitHub gist using D3's `csv` function, stores the resulting data in React state via `useState`, and then displays the raw data as large text in the browser. The visualization shows the parsed CSV data rendered directly as a string, with the code initiating the fetch within the component body and updating the state asynchronously. It uses React 17, D3 v7, and ReactDOM to render the `<App />` component into the HTML root element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d98df831529a476d8edca380c701e0cc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}