CSS Colors
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed