{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data from a remote URL, displaying the dataset’s size in kilobytes, row count, and column count in a large `pre` element. The code uses the JavaScript `fetch` API with async/await to retrieve the text, then parses it with `d3.csvParse`. Alternatively, it shows the simpler `d3.csv` method, which combines fetching and parsing in one step. The source data is CSS named colors from a GitHub gist.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cd478fa2639b401ca2b83df76c8df2b6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}