Line Graph

Ordered values compile to a trend path and optional inspected point markers.

Line Graph

Data Sources

3

Fields

5

Scales

2

Layers

6

Glyphs

30

line 6 / path 1 / text 17 / point 6

Line Graph: 12 points0255075100Month 1: 18 compiled scenesMonth 3: 24 compiled scenesMonth 5: 48 compiled scenesMonth 8: 69 compiled scenesMonth 10: 86 compiled scenesMonth 12: 97 compiled scenesM1M2M3M4M5M6M7M8M9M10M11M12

Data Flow Diagram

0/263 nodes
0/484 edges
263 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
1 transforms

Monthly compiler throughput

points
raw
6 columns
feeds sample-inspection-points

ChartSpec

{
  "id": "gallery.line",
  "data": [
    {
      "id": "points",
      "rows": 12
    },
    {
      "id": "ticks",
      "rows": 5
    },
    {
      "id": "sampled",
      "rows": 6
    }
  ],
  "transforms": [
    {
      "id": "sample-inspection-points",
      "type": "sample",
      "input": "points",
      "output": "sampled"
    }
  ],
  "fields": [
    "index",
    "label",
    "value",
    "tooltip",
    "sampleIndex"
  ],
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "points",
        "field": "index"
      }
    },
    {
      "id": "y",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          100
        ],
        "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": "trend",
      "mark": "path",
      "role": "data",
      "path": {
        "directD": false,
        "areaBand": false,
        "closedToY": false,
        "curve": "linear",
        "sortBy": "index"
      }
    },
    {
      "id": "sample-points",
      "mark": "point",
      "role": "interaction"
    },
    {
      "id": "month-labels",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.line.scene",
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": [
        0,
        11
      ],
      "range": [
        64,
        692
      ],
      "ticks": [
        0,
        2.75,
        5.5,
        8.25,
        11
      ]
    },
    {
      "id": "y",
      "type": "linear",
      "domain": [
        0,
        100
      ],
      "range": [
        262,
        20
      ],
      "ticks": [
        0,
        25,
        50,
        75,
        100
      ]
    }
  ],
  "layers": [
    {
      "id": "y-grid",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 5
    },
    {
      "id": "x-axis",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "trend",
      "role": "data",
      "zIndex": 10,
      "glyphs": 1
    },
    {
      "id": "y-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "sample-points",
      "role": "interaction",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "month-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 12
    }
  ]
}

Glyph Data Tree

6 layers

Full parameter lineage for the active compiler surface.

y-grid

5

x-axis

1

trend

1

y-labels

5

sample-points

6

month-labels

12

Glyph Inspector

none

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