Open-High-Low-Close Chart

Rebuilds the catalogue OHLC chart with financial interval rows and scaled line ticks.

Open-High-Low-Close Chart
Gallery OHLC Pipeline pipeline

Data Sources

7

Fields

23

Scales

3

Layers

14

Glyphs

43

rect 5 / line 26 / text 12

price OHLC panel1,778,112,000,0001,778,716,800,000808590951001052026-05-04: open 82, high 90, low 82, close 902026-05-05: open 90, high 90, low 81, close 812026-05-06: open 81, high 91, low 81, close 912026-05-07: open 91, high 98, low 91, close 982026-05-08: open 98, high 98, low 90, close 902026-05-11: open 90, high 101, low 90, close 1012026-05-04: open 82, high 90, low 82, close 902026-05-05: open 90, high 90, low 81, close 812026-05-06: open 81, high 91, low 81, close 912026-05-07: open 91, high 98, low 91, close 982026-05-08: open 98, high 98, low 90, close 902026-05-11: open 90, high 101, low 90, close 1012026-05-04: open 82, high 90, low 82, close 902026-05-05: open 90, high 90, low 81, close 812026-05-06: open 81, high 91, low 81, close 912026-05-07: open 91, high 98, low 91, close 982026-05-08: open 98, high 98, low 90, close 902026-05-11: open 90, high 101, low 90, close 101GainLossSession move

Build Path

Gallery OHLC Pipeline

This example is rebuilt from gallery data source price-ticks by recipe openHighLowClose: raw table rows -> TabularSource -> pipeline drafts -> analyzeAuthoringDrafts() -> materialized ChartSpec -> compileChart() -> SceneGraph -> SVG. The graph below shows the authored pipeline stage.

Pipeline recipe graph

12 pipelines
13 nodes
23 edges

Data Flow Diagram

0/462 nodes
0/835 edges
462 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

7 tables
1 transforms

Imported table

source_gallery_openhighlowclose
raw
6 columns
feeds pipeline_ohlc_intervals_transform

ChartSpec

{
  "id": "gallery.openHighLowClose",
  "data": [
    {
      "id": "source_gallery_openhighlowclose",
      "rows": 30
    },
    {
      "id": "source_ohlc",
      "rows": 6
    },
    {
      "id": "__guide.pipeline_ygrid_guide",
      "rows": 6
    },
    {
      "id": "__guide.pipeline_xaxis_guide",
      "rows": 2
    },
    {
      "id": "__guide.pipeline_yaxis_guide",
      "rows": 6
    },
    {
      "id": "__guide.pipeline_direction_legend_guide",
      "rows": 2
    },
    {
      "id": "__guide.pipeline_direction_legend_guide.title",
      "rows": 1
    }
  ],
  "transforms": [
    {
      "id": "pipeline_ohlc_intervals_transform",
      "type": "financialInterval",
      "input": "source_gallery_openhighlowclose",
      "output": "source_ohlc",
      "options": {
        "count": 1,
        "errorMethod": "standardError",
        "fit": "contain",
        "groupBy": [
          "date"
        ],
        "includeMax": true,
        "layoutKind": "",
        "layoutMode": "proportionalAngle",
        "mode": "normal",
        "order": [],
        "orderField": "sequence",
        "value": "price"
      }
    }
  ],
  "axes": [
    {
      "id": "pipeline_xaxis_guide",
      "scale": "pipeline_date_x_x_scale",
      "orientation": "bottom"
    },
    {
      "id": "pipeline_yaxis_guide",
      "scale": "pipeline_high_y_y_scale",
      "orientation": "left"
    }
  ],
  "grids": [
    {
      "id": "pipeline_ygrid_guide",
      "scale": "pipeline_high_y_y_scale",
      "orientation": "y"
    }
  ],
  "legends": [
    {
      "id": "pipeline_direction_legend_guide",
      "scale": "pipeline_direction_color_color_scale",
      "kind": "color",
      "title": "Session move"
    }
  ],
  "fields": [
    "__rowLabel",
    "price",
    "id",
    "date",
    "sequence",
    "change",
    "changePercent",
    "close",
    "direction",
    "high",
    "low",
    "open",
    "range",
    "tooltip",
    "value",
    "label",
    "x",
    "y",
    "symbolX",
    "symbolY",
    "labelX",
    "labelY",
    "text"
  ],
  "scales": [
    {
      "id": "pipeline_date_x_x_scale",
      "type": "time",
      "domain": {
        "source": "field",
        "data": "source_ohlc",
        "field": "date",
        "fields": [],
        "includeZero": false,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    },
    {
      "id": "pipeline_high_y_y_scale",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "source_ohlc",
        "field": "high",
        "fields": [
          "open",
          "high",
          "low",
          "close"
        ],
        "includeZero": false,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    },
    {
      "id": "pipeline_direction_color_color_scale",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "source_ohlc",
        "field": "direction",
        "fields": [],
        "includeZero": false,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    }
  ],
  "layers": [
    {
      "id": "pipeline_ygrid_guide",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "pipeline_xaxis_guide-tick-marks",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "pipeline_xaxis_guide-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_yaxis_guide-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_direction_legend_guide-swatches",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "pipeline_direction_legend_guide-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_direction_legend_guide-title",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "create_chart_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_price_ohlc_panel_layout_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_price_ohlc_panel_layout_frame",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "pipeline_price_ohlc_panel_layout_label",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_price_ohlc_high_low_stems_layer",
      "mark": "line",
      "role": "data"
    },
    {
      "id": "pipeline_price_ohlc_open_ticks_layer",
      "mark": "line",
      "role": "data"
    },
    {
      "id": "pipeline_price_ohlc_close_ticks_layer",
      "mark": "line",
      "role": "data"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.openHighLowClose.scene",
  "scales": [
    {
      "id": "pipeline_date_x_x_scale",
      "type": "time",
      "domain": [
        "2026-05-04",
        "2026-05-12"
      ],
      "range": [
        70,
        830
      ],
      "ticks": [
        1778112000000,
        1778716800000
      ]
    },
    {
      "id": "pipeline_high_y_y_scale",
      "type": "linear",
      "domain": [
        80,
        105
      ],
      "range": [
        372,
        42
      ],
      "ticks": [
        80,
        85,
        90,
        95,
        100,
        105
      ]
    },
    {
      "id": "pipeline_direction_color_color_scale",
      "type": "ordinal",
      "domain": [
        "Gain",
        "Loss"
      ],
      "range": [
        "var(--colors-green-9)",
        "var(--colors-red-9)",
        "var(--colors-gray-8)"
      ]
    }
  ],
  "layers": [
    {
      "id": "create_chart_surface",
      "role": "context",
      "zIndex": -10,
      "glyphs": 1
    },
    {
      "id": "pipeline_ygrid_guide",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 6
    },
    {
      "id": "pipeline_price_ohlc_panel_layout_surface",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "pipeline_price_ohlc_panel_layout_frame",
      "role": "guide",
      "zIndex": 1,
      "glyphs": 1
    },
    {
      "id": "pipeline_price_ohlc_panel_layout_label",
      "role": "guide",
      "zIndex": 2,
      "glyphs": 1
    },
    {
      "id": "pipeline_xaxis_guide-tick-marks",
      "role": "guide",
      "zIndex": 5,
      "glyphs": 2
    },
    {
      "id": "pipeline_xaxis_guide-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 2
    },
    {
      "id": "pipeline_yaxis_guide-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "pipeline_price_ohlc_high_low_stems_layer",
      "role": "data",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "pipeline_price_ohlc_open_ticks_layer",
      "role": "data",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "pipeline_price_ohlc_close_ticks_layer",
      "role": "data",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "pipeline_direction_legend_guide-swatches",
      "role": "guide",
      "zIndex": 40,
      "glyphs": 2
    },
    {
      "id": "pipeline_direction_legend_guide-labels",
      "role": "guide",
      "zIndex": 41,
      "glyphs": 2
    },
    {
      "id": "pipeline_direction_legend_guide-title",
      "role": "guide",
      "zIndex": 42,
      "glyphs": 1
    }
  ]
}

Glyph Data Tree

14 layers

Full parameter lineage for the active compiler surface.

create_chart_surface

1

pipeline_ygrid_guide

6

pipeline_price_ohlc_panel_layout_surface

1

pipeline_price_ohlc_panel_layout_frame

1

pipeline_price_ohlc_panel_layout_label

1

pipeline_xaxis_guide-tick-marks

2

pipeline_xaxis_guide-labels

2

pipeline_yaxis_guide-labels

6

pipeline_price_ohlc_high_low_stems_layer

6

pipeline_price_ohlc_open_ticks_layer

6

pipeline_price_ohlc_close_ticks_layer

6

pipeline_direction_legend_guide-swatches

2

pipeline_direction_legend_guide-labels

2

pipeline_direction_legend_guide-title

1

Glyph Inspector

none

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