Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Colors Table

Public visualization

Viewing a saved revision (read-only)

96ac323acd6041cb98dc3ce45f936b4d

Colors Table

0 stars1🌍 Public
AAndres de la Garza
Last edited Feb 28, 2021
Created on Feb 28, 2021
Forked from HTML Starter

This example demonstrates fetching and displaying a table of CSS named colors in the browser console. The code uses the native JavaScript `fetch` API to asynchronously retrieve a CSV file containing color names and their corresponding hexadecimal values from a GitHub Gist URL. It then processes the response using the `response.text()` method, and logs the raw CSV content to the developer console via `console.log`. The HTML page itself is minimal, centering a large title text with CSS, while the data retrieval and logging logic are handled entirely within a `_script` tag. No external visualization libraries or frameworks are employed.

AI-generated description

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

See also React Starter.