{"version":"1.0","type":"rich","title":"D3 with react","description":"This example demonstrates a simple data summary using D3 and React. It loads a CSV file of CSS named colors and displays its size, row count, and column count as large text. The code uses React’s `useState` and `useEffect` to manage the asynchronous data loading, with `d3.csv` fetching the data from a GitHub gist and `d3.csvFormat` measuring the payload in kilobytes. The rendered output updates from “loading” to the formatted message once the data arrives, showing integration of D3’s parsing utilities within a React component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/27afe92befc34022959d83d75177e207?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}