{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load CSV data into a React application using D3’s `csv` function, then displays a summary of the dataset as text. The visual output shows the data size in kilobytes, row count, and column count, rendered inside a `<pre>` element. The code initializes React state with `useState` and fetches the remote CSS named colors CSV via `useEffect`, while `csvFormat` computes the byte size. All rendering occurs in SVG-less HTML, with D3 v5 and React 16.9 loaded from CDNs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0a77909f654f4874892001241dfc87f1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}