{"version":"1.0","type":"rich","title":"Loading data with React and & D3","description":"This example demonstrates loading a CSV dataset and displaying summary statistics using React state and D3 utilities. The app fetches CSS named colors from a remote URL via `d3.csv`, stores the parsed data in React state with the `useState` hook, and triggers the asynchronous load inside `useEffect`. Once loaded, the `d3.csvFormat` function calculates the data’s size in kilobytes, while the row and column counts come from `data.length` and `data.columns`, respectively, with the message rendered as large monospace text. The visualization shows the raw file’s footprint, row count, and column count as a simple text output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e9df96998e384e8da4b8eb6961179422?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}