🌍 Public
Viewing a saved revision (read-only)
a5afa0d3501c4315b02a16e3202fff1c
Chargement de données CSV
This example demonstrates how to fetch and log a CSV file’s contents using the Fetch API. It loads a list of CSS named colors from a GitHub Gist URL, retrieves the response as plain text with `response.text()`, and prints that text to the browser console via `console.log()`. The code uses `async`/`await` to handle the asynchronous request, showing the basic pattern for parsing raw CSV data without relying on external libraries like D3 or PapaParse.
AI-generated descriptionUn programme qui charge des données