{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates loading and parsing a CSV file from a remote URL using D3.js v5. It fetches a dataset of CSS named colors and displays key statistics about the file in a large text element. The visualization reports the file size in kilobytes, the total number of rows, and the number of columns. The code uses the `d3.csv` function to asynchronously fetch and parse the data, then leverages `d3.csvFormat` to calculate the file size. An alternative commented-out approach using the Fetch API, `async`/`await`, and `d3.csvParse` is also shown, along with a basic nested-callback example.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/37238069f8e84580a101085f4b11f077?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}