🌍 Public
Viewing a saved revision (read-only)
9cd98fa202fe461a9c789ba4279a71d8
CSS Colors
This example displays summary statistics about a CSS color dataset. The visualization shows file size in kilobytes, row count, and column count from a CSV file. Using React with hooks, `useState` and `useEffect` load the data via `csv` from D3 v7. The `message` function formats the metrics using `csvFormat` from D3. The app renders the text output within a `<pre>` element, demonstrating a minimal data-loaded state with a loading message. The dataset comes from a GitHub gist URL providing CSS color names and values.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.