{"version":"1.0","type":"rich","title":"Load data with React & D3","description":"This example demonstrates a minimalist approach to loading external data in a React component alongside D3, displaying the dataset's size in kilobytes, row count, and column count as large text. The application fetches a CSV file of CSS named colors from a GitHub gist using D3's `csv` function, storing the parsed result in React state via a `useEffect` hook. While loading, it shows a \"Loading...\" message, and once the data arrives, it computes the file size using D3's `csvFormat` method and renders the summary using a custom `message` module.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9430587956cb4b3faf85cf0cc8846e33?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}