{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load a CSV dataset from a remote URL and display summary statistics about it, including file size, row count, and column count. The visualization uses React state to manage the data, with the `useEffect` hook triggering the `d3.csv` utility to fetch the dataset asynchronously. Once loaded, the data is formatted using `d3.csvFormat` to calculate its size in kilobytes. The interface renders the computed statistics in a large monospace `<pre>` element, initially showing “Loading…” until the data arrives. The example pulls the CSS named colors dataset from a GitHub gist.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/011441d199ed4e21a7ec73da06d39cf2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}