{"version":"1.0","type":"rich","title":"Loading and parsing csv data","description":"This example demonstrates the fundamental first step in working with data: fetching a remote CSV file and examining its raw contents. It shows how to retrieve text data from a URL using the standard JavaScript `fetch` API, then outputs the resulting CSV string directly to the browser console. The code defines an asynchronous utility function, `fetchText`, which simplifies the process of getting a plain-text response. It then applies this function to a specific CSV file hosted on GitHub Gist, which contains a list of CSS named colors and their corresponding hexadecimal values. The visualization itself is minimal, focusing on the console output rather than rendering a chart, making it a clear template for data loading and parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2e5f95a573b2429ab5fb895737b960b8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}