{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to load and summarize a CSV dataset in a React application using D3. The interface displays a plain-text report showing the file size in kilobytes, row count, and column count. The code uses React’s `useState` and `useEffect` hooks to fetch data via `d3.csv` from a GitHub gist containing CSS named colors, then formats the result with `d3.csvFormat`. The SVG markup in the HTML file is commented out and unused.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4f97fb87dbff40e59188d665f366c3e4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}