Sparkline cell renderer
Live in demo 11-stock-market.
When
In-cell mini-charts of a value series, rendered via inline SVG.
How
Key API surface:
renderSnippet(SparklineCell, { points: row.trend })
See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.
See also
- Demo 11-stock-market source
- Demo 11-stock-market prompt sidecar - drop into an LLM context window
- Recipes index