---
title: data
description: A short series drawn as sparkline, bars or gauge from a `values` array — the one data-display primitive, not a chart library.
status: shipped
url: https://getairframe.com/framewerk/reference/nodes/data
---

> Part of the Framewerk docs. Index of every page: /framewerk/llms.txt

# `data`

A short series drawn as sparkline, bars or gauge from a `values` array — the one data-display primitive, not a chart library.

## Example

**data**

```json
{
  "id": "home",
  "layout": {
    "_id": "root",
    "type": "column",
    "gap": 12,
    "padding": 16,
    "children": [
      {
        "_id": "d",
        "type": "data",
        "variant": "sparkline",
        "values": [
          3,
          7,
          4,
          9,
          6,
          11
        ],
        "height": 48
      },
      {
        "_id": "cap",
        "type": "text",
        "variant": "caption",
        "content": "Last six days"
      }
    ]
  }
}
```

## States

Variant (`sparkline` | `bars` | `gauge`). Common to every node: `hover` / `press` / `focus` CSS bags, `showWhen` / `hideWhen`, `animate`.

## Stability

This node type is part of the format contract: adding an optional prop is additive; removing the node or narrowing an existing prop is breaking. Prop tables are generated from the schema; this page carries the prose.
