{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates loading and summarizing a CSV dataset in a React application with D3.js. The app uses React state and the `useEffect` hook to fetch CSS named colors from a GitHub gist via D3’s `csv` function, then displays a text summary of the file size, column count, and row count. The UI renders as a large `<pre>` element, initially showing “Loading...” until data arrives. While the code imports `d3.csv`, the actual format and length calculations rely on `d3.csvFormat` and array properties. The visualization is minimal, focusing on data loading rather than graphical output, with no SVG or chart elements present.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cd9cf8dcd9ae460ba66a4c1301e8405b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}