{"version":"1.0","type":"rich","title":"loading and parsing CSV data 2","description":"This example demonstrates the basic pattern of loading and parsing a CSV file in D3, displaying the number of rows, columns, and approximate file size in kilobytes as plain text on a large-format `<pre>` element. The code fetches a remote CSV file from a GitHub gist using `d3.csv`, then chains a `.then` callback to process the parsed data. It reports `data.length` for rows, `data.columns.length` for columns, and measures the output of `d3.csvFormat(data)` to estimate the original data size, updating the DOM via `textContent`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/298eab00415e4fa99e4fa46d7a350ecc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}