{"version":"1.0","type":"rich","title":"Fetch, async, await","description":"This example demonstrates how to fetch and read a CSV file of CSS named colors using modern JavaScript async/await syntax. The code defines an `async` function that uses the built-in `fetch` API to request data from a GitHub gist URL, then returns the response as plain text via the `.text()` method. The fetched text is logged to the browser console for inspection. The example highlights the contrast between chained `.then()` callbacks and the more readable `async`/`await` approach for handling asynchronous data loading.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/42e16a8189d24877a8af056b71d52115?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}