Point

Rebuilds the point catalogue example with x/y scales, size scale, color scale, labels, and point marks.

Point
Gallery Point Pipeline pipeline

Data Sources

5

Fields

9

Scales

4

Layers

9

Glyphs

50

rect 2 / line 17 / text 21 / point 10

020406080100020406080Bars: 18 spec nodes, 24 rendered glyphsLines: 42 spec nodes, 36 rendered glyphsHeatmaps: 64 spec nodes, 48 rendered glyphsScatter: 74 spec nodes, 42 rendered glyphsHistograms: 58 spec nodes, 62 rendered glyphsMaps: 68 spec nodes, 54 rendered glyphsTables: 78 spec nodes, 34 rendered glyphsKPI: 28 spec nodes, 16 rendered glyphsInspector: 86 spec nodes, 68 rendered glyphsScenes: 92 spec nodes, 58 rendered glyphsBarsBarsLinesLinesHeatmapsHeatmapsScatterScatterHistogramsHistogramsMapsMapsTablesTablesKPIKPIInspectorInspectorScenesScenes

Build Path

Gallery Point Pipeline

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

Pipeline recipe graph

11 pipelines
12 nodes
20 edges

Data Flow Diagram

0/526 nodes
0/1014 edges
526 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

5 tables
0 transforms

Imported table

source_gallery_point
raw
9 columns

ChartSpec

{
  "id": "gallery.point",
  "data": [
    {
      "id": "source_gallery_point",
      "rows": 10
    },
    {
      "id": "__guide.pipeline_xgrid_guide",
      "rows": 6
    },
    {
      "id": "__guide.pipeline_ygrid_guide",
      "rows": 5
    },
    {
      "id": "__guide.pipeline_xaxis_guide",
      "rows": 6
    },
    {
      "id": "__guide.pipeline_yaxis_guide",
      "rows": 5
    }
  ],
  "transforms": [],
  "axes": [
    {
      "id": "pipeline_xaxis_guide",
      "scale": "pipeline_x_x_x_scale",
      "orientation": "bottom"
    },
    {
      "id": "pipeline_yaxis_guide",
      "scale": "pipeline_y_y_y_scale",
      "orientation": "left"
    }
  ],
  "grids": [
    {
      "id": "pipeline_xgrid_guide",
      "scale": "pipeline_x_x_x_scale",
      "orientation": "x"
    },
    {
      "id": "pipeline_ygrid_guide",
      "scale": "pipeline_y_y_y_scale",
      "orientation": "y"
    }
  ],
  "legends": [],
  "fields": [
    "__rowLabel",
    "label",
    "x",
    "y",
    "size",
    "family",
    "tooltip",
    "id",
    "value"
  ],
  "scales": [
    {
      "id": "pipeline_x_x_x_scale",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "source_gallery_point",
        "field": "x",
        "fields": [],
        "includeZero": true,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    },
    {
      "id": "pipeline_y_y_y_scale",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "source_gallery_point",
        "field": "y",
        "fields": [],
        "includeZero": true,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    },
    {
      "id": "pipeline_family_color_color_scale",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "source_gallery_point",
        "field": "family",
        "fields": [],
        "includeZero": false,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    },
    {
      "id": "pipeline_size_size_size_scale",
      "type": "sqrt",
      "domain": {
        "source": "field",
        "data": "source_gallery_point",
        "field": "size",
        "fields": [],
        "includeZero": true,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    }
  ],
  "layers": [
    {
      "id": "pipeline_xgrid_guide",
      "mark": "line",
      "role": "guide"
    },
    {
      "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": "create_chart_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_y_by_x_panel_layout_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_y_by_x_points_layer",
      "mark": "point",
      "role": "data"
    },
    {
      "id": "pipeline_y_by_x_labels_layer",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.point.scene",
  "scales": [
    {
      "id": "pipeline_x_x_x_scale",
      "type": "linear",
      "domain": [
        0,
        100
      ],
      "range": [
        70,
        830
      ],
      "ticks": [
        0,
        20,
        40,
        60,
        80,
        100
      ]
    },
    {
      "id": "pipeline_y_y_y_scale",
      "type": "linear",
      "domain": [
        0,
        80
      ],
      "range": [
        400,
        70
      ],
      "ticks": [
        0,
        20,
        40,
        60,
        80
      ]
    },
    {
      "id": "pipeline_family_color_color_scale",
      "type": "ordinal",
      "domain": [
        "Rect",
        "Path",
        "Point",
        "Text"
      ],
      "range": [
        "var(--colors-blue-9)",
        "var(--colors-green-9)",
        "var(--colors-orange-9)",
        "var(--colors-purple-9)"
      ]
    },
    {
      "id": "pipeline_size_size_size_scale",
      "type": "sqrt",
      "domain": [
        0,
        15
      ],
      "range": [
        4,
        18
      ],
      "ticks": [
        0,
        5,
        10,
        15
      ]
    }
  ],
  "layers": [
    {
      "id": "create_chart_surface",
      "role": "context",
      "zIndex": -10,
      "glyphs": 1
    },
    {
      "id": "pipeline_xgrid_guide",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 6
    },
    {
      "id": "pipeline_ygrid_guide",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 5
    },
    {
      "id": "pipeline_y_by_x_panel_layout_surface",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "pipeline_xaxis_guide-tick-marks",
      "role": "guide",
      "zIndex": 5,
      "glyphs": 6
    },
    {
      "id": "pipeline_xaxis_guide-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "pipeline_yaxis_guide-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "pipeline_y_by_x_points_layer",
      "role": "data",
      "zIndex": 20,
      "glyphs": 10
    },
    {
      "id": "pipeline_y_by_x_labels_layer",
      "role": "guide",
      "zIndex": 28,
      "glyphs": 10
    }
  ]
}

Glyph Data Tree

9 layers

Full parameter lineage for the active compiler surface.

create_chart_surface

1

pipeline_xgrid_guide

6

pipeline_ygrid_guide

5

pipeline_y_by_x_panel_layout_surface

1

pipeline_xaxis_guide-tick-marks

6

pipeline_xaxis_guide-labels

6

pipeline_yaxis_guide-labels

5

pipeline_y_by_x_points_layer

10

pipeline_y_by_x_labels_layer

10

Glyph Inspector

none

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