Skip to content

Spark

GraphSpark

Sparkline from block characters. Values scale to the highest point.

Command

pnpm dlx shadcn@latest add <origin>/r/graph-spark.json

Latency

Highlight the latest value. Earlier points are muted.

[ LATENCY ]

last point is the accent

Sparkline with 12 points. last point is the accent

Requests

A quieter series.

[ REQUESTS ]

last twelve deploys

Sparkline with 12 points. last twelve deploys

Props

PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
datanumber[]Relative values. Scaled to the max.
captionstringMuted line under the sparkline.
glyphs"shade" | "ascii" | "hash" | "bar" | string[]▁▂▃▄▅▆▇█Defaults to spark bars. Pass shade, ascii, hash, bar, or your own characters.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.