{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize a CSV dataset using D3 utilities within a React application. It shows a text-based overview of the data, displaying the file size in kilobytes, row count, and column count, initially showing a \"Loading...\" message. The code fetches a CSS named colors CSV from a GitHub gist using `d3.csv`, stores the result in React state via `useState` and `useEffect`, and formats the statistics with `d3.csvFormat`. The output is rendered as SVG text inside a `<pre>` element using ReactDOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/039783228a7944ad9e8f502a8b102602?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}