Skip to main content
100%

Loading and parsing csv

✓ Published0🌍 Public
PPatrick Hebner
Last edited Sep 19, 2022
Created on Sep 1, 2022
Forked from HTML Starter

This example demonstrates loading and parsing a CSV file from a remote URL. The code fetches the raw text data using the `fetch` API and then passes it to the `text()` method, displaying the resulting string in the browser console. The page displays the title "Loading and parsing csv" in large text via custom CSS. The CSV source is a GitHub gist containing CSS named colors. The example uses standard JavaScript async/await syntax and basic DOM styling to illustrate the initial steps of fetching and inspecting CSV data for subsequent visualization.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes