{"version":"1.0","type":"rich","title":"Fork of Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse a CSV file containing CSS named colors using D3.js v5 within a React framework. It displays a summary with the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv` to fetch and parse the data from a GitHub Gist, then formats the output with `d3.csvFormat` and renders it as large text in an HTML `<pre>` element. An alternative approach using `fetch`, `async`, and `await` with `d3.csvParse` is also provided but commented out.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/11a5f08f91044c01b27bbcceca73bf41?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}