{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates how to load and display a summary of CSS named colors data using React and D3. The app fetches a CSV file from a GitHub gist using the `d3.csv` function, and React's `useState` and `useEffect` hooks manage the asynchronous data loading. Once the data arrives, the `message` utility computes and displays the number of rows, columns, and file size in kilobytes using `d3.csvFormat`. The interface shows plain text output in a `<pre>` element, initially displaying \"Loading...\" until the data is ready. The visualization is rendered as SVG, though no graphical marks are drawn.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/38ad8ed340114f618f5e02cc22a0b983?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}