{"version":"1.0","type":"rich","title":"Loading Data with D3 and React","description":"This example demonstrates how to load and summarize a CSV dataset within a React application using D3. It displays a text message showing the file size in kilobytes, the number of rows, and the number of columns from a gist-hosted CSV of CSS named colors. The code uses React hooks (`useState`, `useEffect`) to trigger `d3.csv` loading, and a custom `Message` function that formats data statistics using `d3.csvFormat`. The visualization renders the summary in a large `<pre>` element while data loads.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fc73c56092294ce7b4b003cd86a7ca4a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}