{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data using D3 v5. It fetches a remote CSV file containing named CSS colors and displays three summary statistics: the file size in kilobytes, the number of rows, and the number of columns. The primary implementation uses d3.csv with a Promise, while commented-out code shows an alternative approach using fetch, async/await, and d3.csvParse. The parsed data is rendered as plain text inside a pre element, with results formatted using d3.csvFormat to calculate the data length.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0139cc2ddd8847d693659b9053c02753?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}