{"version":"1.0","type":"rich","title":"Parsing CSV Data With D3","description":"This example shows how to parse CSV data with D3, displaying the file size, row count, and column count of a remote dataset fetched from a TinyURL-shortened URL. The code uses `d3.csv` to load and parse the data asynchronously via a Promise, then accesses `data.length` and `data.columns` to summarize the dataset. It also includes commented alternatives using `fetch`, `async/await`, and `d3.csvParse` for manual text parsing, and a nested-callback \"pyramid of doom\" pattern. The rendered output is plain text inside a styled `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dccc4eebb3304245847493837dd6a903?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}