Skip to main content
100%

CSS Colors

✓ Published0🌍 Public
Kkalmdown
Last edited Jul 18, 2021
Created on Jul 15, 2021
Forked from HTML Starter

This example loads a CSV of CSS named colors from a GitHub gist and displays summary statistics about the dataset: its size in kilobytes, row count, and column count. The page uses D3 v7’s `d3.csv` to fetch and parse the data, then `d3.csvFormat` to calculate the file size from the formatted string. Results are rendered as plain text into a pre element via `textContent`, with the body styled at a large font size for readability. The code also includes commented-out alternatives using the Fetch API.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes