{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates a React component that loads a CSV dataset of CSS named colors and displays a summary of its size and structure. The data loading process uses the `csv` method from d3.v7, while React’s `useState` and `useEffect` hooks manage the asynchronous fetch and update the component’s state. Once the data arrives, a custom message module computes the file size in kilobytes, row count, and column count, rendering the result in a large `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b3aff378877b4d0eb6f2a3daf96459fc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}