Area Graph

Ordered values compile to a filled area path and a stronger trend edge.

Area Graph

Data Sources

3

Fields

5

Scales

2

Layers

7

Glyphs

27

line 6 / path 2 / text 17 / point 2

Area Graph: 12 points027.55582.5110Area Graph: 12 pointsMonth 1: 18k visitsMonth 12: 104k visitsM1M2M3M4M5M6M7M8M9M10M11M12

Data Flow Diagram

0/245 nodes
0/439 edges
245 hidden

Select a glyph to highlight its complete source path.

Scope

Roles

source
transform
field
scale
layer
param
glyph

No matching flow nodes

Adjust search, scope, or role filters.

Available Data

3 tables
0 transforms

Monthly values

points
raw
7 columns

ChartSpec

{
  "id": "catalogue.area-graph",
  "data": [
    {
      "id": "points",
      "rows": 12
    },
    {
      "id": "ticks",
      "rows": 5
    },
    {
      "id": "endpoints",
      "rows": 2
    }
  ],
  "transforms": [],
  "fields": [
    "index",
    "label",
    "value",
    "formatted",
    "tooltip"
  ],
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "points",
        "field": "index"
      }
    },
    {
      "id": "y",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          110
        ],
        "includeZero": true
      }
    }
  ],
  "layers": [
    {
      "id": "y-grid",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "y-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "x-axis",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "filled-area",
      "mark": "path",
      "role": "data",
      "path": {
        "directD": false,
        "areaBand": true,
        "closedToY": false,
        "curve": "linear",
        "sortBy": "index"
      }
    },
    {
      "id": "area-edge",
      "mark": "path",
      "role": "data",
      "path": {
        "directD": false,
        "areaBand": false,
        "closedToY": false,
        "curve": "linear",
        "sortBy": "index"
      }
    },
    {
      "id": "endpoints",
      "mark": "point",
      "role": "interaction"
    },
    {
      "id": "month-labels",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "catalogue.area-graph.scene",
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": [
        0,
        11
      ],
      "range": [
        66,
        692
      ],
      "ticks": [
        0,
        2.75,
        5.5,
        8.25,
        11
      ]
    },
    {
      "id": "y",
      "type": "linear",
      "domain": [
        0,
        110
      ],
      "range": [
        278,
        24
      ],
      "ticks": [
        0,
        27.5,
        55,
        82.5,
        110
      ]
    }
  ],
  "layers": [
    {
      "id": "y-grid",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 5
    },
    {
      "id": "x-axis",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "filled-area",
      "role": "data",
      "zIndex": 10,
      "glyphs": 1
    },
    {
      "id": "y-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "area-edge",
      "role": "data",
      "zIndex": 20,
      "glyphs": 1
    },
    {
      "id": "endpoints",
      "role": "interaction",
      "zIndex": 30,
      "glyphs": 2
    },
    {
      "id": "month-labels",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 12
    }
  ]
}

Glyph Data Tree

7 layers

Full parameter lineage for the active compiler surface.

y-grid

5

x-axis

1

filled-area

1

y-labels

5

area-edge

1

endpoints

2

month-labels

12

Glyph Inspector

none

Select a glyph in the chart to inspect resolved params and lineage.