{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates how to load data with React and D3, displaying a summary of a CSV file containing CSS named colors. The app uses the `useState` and `useEffect` hooks to manage data loading, while `d3.csv` fetches the data from a GitHub gist URL. Once loaded, the data is passed through a custom `message` function that calculates the file size, row count, and column count using `d3.csvFormat`, `d3.data.columns`, and `data.length`. The result is rendered inside a `<pre>` element, with a \"Loading...\" placeholder shown before the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0eb764bee65f46b1bdf252de823eea89?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}