{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example shows how to load a CSS named colors dataset asynchronously using D3’s `csv` utility, then store the result in React state to display a summary. It uses React’s `useEffect` and `useState` hooks to trigger and manage the data fetch, while the `message` module computes stats like file size, row count, and column count from the parsed data. The visualization renders a simple text summary in a `<pre>` tag, demonstrating the integration of D3 data-loading with React’s component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3a00c853ac9d4525acae46aebd61c009?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}