{"version":"1.0","type":"rich","title":"Loading Data from React & D3","description":"This example displays summary statistics about a CSV dataset—file size in kilobytes, row count, and column count—in a large text element. It loads the CSS Named Colors dataset from a GitHub gist using D3 v5’s `d3.csv` method, which returns a promise, and then renders the results via React-compatible DOM manipulation. The code also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`, illustrating different ways to handle asynchronous data loading in a React and D3 context.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/665fe5e4522c48a1851b0ec189145442?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}