{"version":"1.0","type":"rich","title":"Loding Data with React & D3","description":"This example demonstrates asynchronous data loading in a React application with D3.js. It fetches a CSV file containing CSS named colors and computes a summary message displaying the file size in kilobytes, number of rows, and column count. The code uses React hooks such as `useState` and `useEffect` to manage the data state, while the `d3.csv` function retrieves the remote dataset and `d3.csvFormat` calculates its byte size. The result is rendered as plain text within a `<pre>` element, showing \"Loading...\" until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c8a607c48123476299b5df208d88ddba?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}