creating-charts
Installation
SKILL.md
Creating Charts
Embed an interactive chart in a reply by writing a fenced code block with the flint language
tag whose body is a JSON Flint chart spec (https://microsoft.github.io/flint-chart/). The Amp web
UI compiles the spec and renders it inline in the conversation.
Spec Format
{
"data": { "values": [ { "month": "2026-01", "revenue": 120 }, { "month": "2026-02", "revenue": 150 } ] },
"semantic_types": { "month": "YearMonth", "revenue": "Amount" },
"chart_spec": {
"chartType": "Bar Chart",
"encodings": { "x": "month", "y": "revenue" }
}
}