{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize a CSV dataset using React and D3. It fetches a list of CSS named colors from a GitHub gist and uses React’s `useState` and `useEffect` hooks to manage the asynchronous data loading. The `d3.csv` method parses the remote file, and the resulting data is passed to a custom `message` function that calculates and displays the total row count, column count, and file size in kilobytes. The interface renders this summary as plain text inside a `<pre>` element, initially showing a “loading” state until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9851b87934934bae9991c6bf03a637a0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}