{"version":"1.0","type":"rich","title":"loading csv data using react and D3","description":"This example demonstrates loading an external CSV file using D3’s `csv` function within a React component. It fetches a dataset of CSS named colors from a GitHub gist and displays its properties as plain text: the formatted CSV size in kilobytes, the row count, and the column count. The React app uses `useEffect` and `useState` to asynchronously fetch and store the data, then renders the summary via a custom `message` function that calls `d3.csvFormat` to measure the data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6ce658eb13b14db7ba87184ca01d8e9f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}