{"version":"1.0","type":"rich","title":"Interaction with React","description":"This example demonstrates how to integrate React with D3 for data visualization. It shows a React component that fetches and parses a CSV file containing named CSS colors from a GitHub gist, using the Fetch API and d3.csvParse. The code renders a simple React app with a heading, while the fetched data’s columns and length are stored in a Promise. The visualization uses React 16.9 and D3 v5, loaded via UMD scripts, with ReactDOM rendering the component into the DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b0730dba16f84280a9712f1900f54f6a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}