{"version":"1.0","type":"rich","title":"Loading data with d3","description":"This example demonstrates loading a CSV dataset of named CSS colors and displaying its metadata as plain text. The React component uses the `useState` and `useEffect` hooks together with D3’s `csv` function to fetch data asynchronously from a GitHub gist URL, then renders a summary message computed by the `message` utility using `d3.csvFormat` and the data’s `length` and `columns` properties. While the data is loading, the interface shows the word “Loading,” and after success, it reports file size, row count, and column count.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/426a700e81434cbca1c8f16e11cc4ee2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}