Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
DDesignChapman
Last edited Jan 29, 2023
Created on Jan 29, 2023
Forked from HTML Starter

This example demonstrates how to load and parse CSV data in a web page. It fetches a remote CSV file from a GitHub gist containing CSS named colors, then logs the raw text to the browser console for inspection. The code uses the Fetch API with async/await syntax to retrieve the text, and includes an alternative commented-out approach using chained promises. The page itself displays a simple "Hello HTML!" message styled with large font-size CSS, while the data loading occurs behind the scenes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes