🌍 Public
Viewing a saved revision (read-only)
97a72eb03c6347e08627963e9aac3fc9
Loading Csv Data
This example demonstrates how to load a CSV file from a remote URL using the Fetch API and display its raw text in the browser console. It fetches a dataset of CSS named colors from a GitHub gist, then parses the response as text. The code uses the async/await syntax within a fetchText function, with a commented-out alternative showing the equivalent promise chain. No visualization is rendered; the output is purely a console log of the CSV data.
AI-generated description