{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates loading a CSV dataset into a React application and displaying a concise summary of its contents. The visualization presents a text-based report showing the data file size in kilobytes, the number of rows, and the number of columns. The application fetches the CSS named colors dataset from a GitHub gist using D3’s `csv` function, stores the result in React state via `useState`, and renders the output as SVG text within a `<pre>` element. The `message` function computes the file size using `d3.csvFormat().length` to calculate kilobytes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8edab4010a584c1b9eff68ff0b8b4ef7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}