{"version":"1.0","type":"rich","title":"Loading Data with Reach and D3","description":"This example demonstrates how to load and summarize a dataset using D3 utilities within a React application. It fetches a CSV file containing CSS named colors via D3’s `csv` method, storing the parsed result in React state with the `useState` and `useEffect` hooks. The rendered output displays a text summary showing the data’s approximate size in kilobytes, row count, and column count, computed using `d3.csvFormat`. While loading, the view shows a loading message. The implementation relies on React 16.9, D3 v5, and renders plain text into an HTML `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c89e1f34b77743e4aab2f20006db952a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}