{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data (less verbose)","description":"This example shows the size and structure of a CSV file by displaying the number of kilobytes, rows, and columns in a large text element. It loads CSS named colors data from a remote GitHub gist using d3.csv, which returns a promise. The code then formats the parsed data back into a CSV string with d3.csvFormat to measure its byte length, and accesses the parsed array’s length and columns property for row and column counts. It highlights the less verbose promise-based approach over the commented-out fetch and async/await alternative with d3.csvParse.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/912d5d64986042ca8a3f61f2e7818c2e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}