{"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 v7’s `d3.csv` method, which fetches the data and returns an array of objects. The display shows the dataset’s size in kilobytes, row count, and column count. The CSV data comes from a gist containing CSS named colors. The code also includes a commented-out alternative using `fetch` and `d3.csvParse`, illustrating two ways to handle CSV text. The final message is rendered inside a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1e3b7575bf9f4bbd9d2e24d1c83804a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}