{"version":"1.0","type":"rich","title":"Display a csv message with d3 & react","description":"This example displays a CSV file’s metadata as a single large text message using React and D3. The page, styled with a centered 10em font, initially shows “loading…” until the CSS color names CSV finishes fetching from a GitHub gist. The React `App` component uses D3’s `csv` function to asynchronously load the data, then calls `d3.csvFormat(data).length` to compute the number of rows, which is rendered inside a `<div>`. The code relies on React’s `useState` hook and `ReactDOM.render` to update the view.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ac1c4d11373a46958eb0e5743f2e658c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}