{"version":"1.0","type":"rich","title":"Parsing CSV Data with D3","description":"This example demonstrates how to parse CSV data using D3's built-in parsing utilities, displaying basic file statistics in a text container. It loads a remote CSV file containing CSS named colors via `d3.csv()` and then calculates the formatted data size in kilobytes, the total row count, and the number of columns using `d3.csvFormat()` and the data’s `columns` property. The result is rendered as plain text into a `<pre>` element. The code also includes commented-out alternatives using `fetch()` with `d3.csvParse()` for async/await workflows.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/48cb294ca0f74a88a9f683dd8f932cf2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}