{"version":"1.0","type":"rich","title":"Loading and parsing csv data","description":"This example demonstrates how to load and parse CSV data using D3.js, displaying a summary of the dataset in a large preformatted text element. The visualization shows the number of rows, columns, and file size in kilobytes for a dataset of CSS named colors fetched from a GitHub gist. The code uses the `d3.csv` method to asynchronously fetch and parse the remote CSV file, then counts rows via `data.length`, columns via `data.columns.length`, and computes the approximate file size with `d3.csvFormat` and `Math.round`. Alternative fetching with `fetch` and `d3.csvParse` appears in a commented section.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0bd7fc9190474db8978afa428ddbe0d6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}