Skip to content
Vega-Lite templates

Vega-Lite — AOV trend (monthly)

Line chart of monthly average order value.

Template previewVega-Lite
2025FebruaryMarchAprilMayJunemonth0510152025303540455055AOV ($)

What this template contains

Marks
line
Encodes
x, y
Source
13 lines

Make it your own.

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "data": {"values": [
    {"month":"2025-01","aov":42},{"month":"2025-02","aov":45},
    {"month":"2025-03","aov":48},{"month":"2025-04","aov":47},
    {"month":"2025-05","aov":51},{"month":"2025-06","aov":53}
  ]},
  "mark":"line",
  "encoding": {
    "x":{"field":"month","type":"temporal"},
    "y":{"field":"aov","type":"quantitative","title":"AOV ($)"}
  }
}