An assistant answer to a data question with a summary, a generated chart, a compact table, key takeaways, a collapsible code block with copy, insert and regenerate actions, and an in-order streaming state.
Preview
You: Which categories drove the jump in refunds last quarter?
Pebbleorders_q3.csv · 1,284 rows
Two categories account for almost two thirds of Q3 refunds: Ceramics and Lighting. Both rose sharply in August, right after the new courier contract started.
Refunds by category, Q3Refunded
CCeramics$18,42038.4%
LLighting$12,96027%
TTextiles$7,31015.3%
KKitchen$5,08010.6%
SStationery$4,1508.7%
Refunded amount by month and category
Refunded amount by month and category
Category
July
August
September
Ceramics
3,120
9,480
5,820
Lighting
2,240
6,610
4,110
Textiles
2,380
2,590
2,340
Key takeaways
1Breakage, not fit or quality, is behind most of the rise: 71% of Ceramics and Lighting refunds cite damage in transit.
2Textiles stayed flat, which points at packaging for fragile items rather than the courier as a whole.
3September is already lower than August, so the fix in late August is working; keep watching Ceramics.
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
Prop
Type
Default
Description
question
string
—
The user's data question.
summary
string
—
One or two sentences answering it directly.
source
string
—
Data-source chip, e.g. "orders.csv · 1,284 rows".
chart
AnalysisChart
—
{ type: "bar-list", label, data } (BarList) or { type: "bar" | "line" | "area", label, data, index, series } (Chart).
table
{ caption, columns, rows }
—
Compact table; numeric columns align right.
takeaways
string[]
—
Numbered key takeaways.
code
{ language, source }
—
Collapsible “Code used” block with copy.
stream
boolean
false
Reveal sections in order with skeletons, as if streaming.
stepMs
number
650
Pause between sections.
onInsert
() => void
—
Insert into doc.
onRegenerate
() => void
—
Regenerate; also replays the stream.
assistantName
string
"Kestrel"
Name in the answer header.
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.