{"version":"1.0","type":"rich","title":"Loading Data with Fetch","description":"This example demonstrates how to load and display data from an external CSV file using the Fetch API in plain JavaScript, without any visualization libraries. It shows three different code patterns—nested promise callbacks, an async function with a variable URL, and an async function using the `.then()` method—all logging the raw text of the CSS named colors dataset to the console. The data comes from a raw GitHub gist containing a comma-separated list of color names and values. The example focuses on data loading techniques rather than visual output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/95cad53d85dc445a87322d21d3698fde?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}