{"version":"1.0","type":"rich","title":"Loading and Parsing CSV data","description":"This example shows the size and structure of a CSV dataset by displaying the file size in kilobytes, the number of rows, and the number of columns. The code loads data from a remote CSV file containing CSS named colors using the `d3.csv` function, which fetches and parses the data asynchronously. It then uses `d3.csvFormat` and `data.columns` to calculate the metrics, and writes the resulting message into a `<pre>` element. The example also includes commented-out code using the Fetch API with `d3.csvParse` for alternative parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a9fd5cdb1f5e420daf01b7356968e451?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}