{"version":"1.0","type":"rich","title":"7.00 Load & Parse CSV","description":"This example demonstrates how to load and parse a CSV file using D3 v6, displaying the row and column counts of the dataset as large text on the page. It fetches a CSV of CSS named colors from a GitHub gist via the `d3.csv()` method, which returns a promise. The resulting parsed data array is used to extract `data.length` for rows and `data.columns.length` for columns, which are then written to the document body. A commented-out alternative using JavaScript’s native `fetch` with `d3.csvParse` is also included for comparison.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6fb45d9879e34a6892a6a6d72ad787c1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}