{"version":"1.0","type":"rich","title":"Loading and parsing CSV data","description":"This example demonstrates how to load and parse a remote CSV file using D3.js. It renders a summary of the parsed dataset as large text, showing the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv()` with a promise to fetch the CSS named colors dataset from a GitHub gist, then applies `d3.csvFormat()` to measure the data size and accesses `data.length` and `data.columns` for the row and column counts. The result is displayed in a `<pre>` element via `document.getElementById()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7961ff32f303456abd73676aa941752b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}