{"version":"1.0","type":"rich","title":"Loading data with React & D3","description":"This example demonstrates how to load a CSV dataset of CSS named colors using D3’s `d3.csv` utility within a React application, displaying a summary of the data’s size, row count, and column count via a formatted text message. The React component uses the `useState` and `useEffect` hooks to fetch the data asynchronously and manage its state, showing a “Loading…” placeholder until the promise resolves. The visualization renders as SVG but outputs only a text report, generated by a custom `message` function that formats the CSV metadata.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b51abc90f7424c26b9ff6aca555b439a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}