{"version":"1.0","type":"rich","title":"Load data wiht react & d3","description":"This example demonstrates how to load and summarize a CSV dataset using React and D3. It fetches a CSV file of CSS named colors via `d3.csv` and stores the parsed data in React state with the `useState` and `useEffect` hooks. Once loaded, a custom `message` utility computes the file size in kilobytes, row count, and column count using `d3.csvFormat`, displaying these statistics in a large `<pre>` element. The interface shows “Loading...” until the asynchronous data request resolves, highlighting the integration of D3’s data-loading utilities with React’s component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/91115b71732049c899243a301f3a03b7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}