🌍 Public
Viewing a saved revision (read-only)
e8b8a0d639e7436da7b70ef5da87d4c7
Untitled
This example visualizes metadata about CSS named colors, displaying the dataset size in kilobytes, row count, and column count as text. It loads color data using D3 utilities and manages the resulting information through React state. The code uses `d3.csvFormat` to calculate file size, with `data.length` and `data.columns.length` providing additional statistics, all rendered through React components in a minimal HTML page.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.