pretext-sparkline
Inline sparklines with collision-free value labels
0 label overlaps
Canvas rendered
Pretext-powered
300px
Sparkline Variants
With End Label
Active users
With Min/Max Labels
CPU usage %
With Annotations
Deployments
In a Table Cell
| Metric | Current | Trend (7d) |
| Requests/s | 12.4K | |
| Latency ms | 42 | |
| Error rate | 0.3% | |
Editable Data
Paste CSV or enter comma-separated numbers
Stock Ticker Demo (live updating)
Resize the width slider -- labels reflow instantly using pure arithmetic (no DOM measurement).
Built with @chenglou/pretext.
Source on GitHub.