{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse a CSV file using D3.js and React. It fetches a remote dataset of CSS named colors via `d3.csv`, then displays statistics about the data: the approximate file size in kilobytes, the number of rows, and the number of columns. The results are rendered as plain text inside a `<pre>` element using React’s `createElement`. The code also includes a commented alternative approach using the Fetch API with `async`/`await` and `d3.csvParse`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/917baf5bbbde4b10a5659c1268e0af2a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}