{"version":"1.0","type":"rich","title":"Loading and parsing csv data","description":"This example demonstrates how to load and inspect a CSV file using D3.js. It fetches a dataset of CSS named colors from a GitHub gist and displays three key statistics: the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv()` to parse the remote data, then applies `d3.csvFormat()` to measure its string length and accesses the parsed array's `length` and `columns` properties. A commented alternative shows parsing fetched text with `d3.csvParse()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/67cfff68d12440e3b9fa331f637700f9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}