{"version":"1.0","type":"rich","title":"v2_Loading data with React and D3","description":"This example demonstrates how to load and display a dataset within a React application using D3.js. It fetches a CSV file of CSS color names and hex values from a GitHub Gist, then renders each row as a small colored div. The code uses D3's `csv` function for data parsing and React's `useState` and `useEffect` hooks to manage asynchronous loading. Console logging confirms the fetched data structure, while a separate `getMessage` module calculates and displays the dataset's size in kilobytes, row count, and column count.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a31307306194a5bb322873fece415d0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}