{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates the loading and parsing of CSV data using D3.js, displaying the file size, row count, and column count of the parsed dataset on a web page. The code fetches a CSV file containing CSS named colors from a GitHub Gist URL using `d3.csv`, which returns a promise with the parsed data array. It then calculates the formatted string length with `d3.csvFormat`, accesses the `data.length` and `data.columns` properties, and injects the resulting message into a `<pre>` element via `document.getElementById`. The page includes commented-out alternatives using the Fetch API, `async/await`, and `d3.csvParse` for comparison.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/08f7097c7cbf44f0990289a85d2898b7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}