{"version":"1.0","type":"rich","title":"Loading and parsing csv data","description":"This example demonstrates how to load and parse CSV data using D3 v7, displaying the file size, row count, and column count as large text on a minimal HTML page. It fetches a remote CSV file containing CSS named colors via `d3.csv`, which returns a parsed array of objects. The code then formats the data back to CSV with `d3.csvFormat` to calculate its size in kilobytes, and logs the full dataset to the console. The page uses a simple `<pre>` element and styling to present the summary. The implementation relies on D3’s built-in promise-based loading, with commented-out alternatives using `fetch` and manual text parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/20185dd98c004303abc7ba3bba77560e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}