Overview Brush

Weekly revenue and brush state are laid out into data and interaction glyph layers.

Overview Brush
Overview Brush Pipeline pipeline

Data Sources

4

Fields

10

Scales

2

Layers

6

Glyphs

20

rect 12 / text 8

Week 1: 28k revenueWeek 2: 36k revenueWeek 3: 31k revenueWeek 4: 48k revenueWeek 5: 62k revenueWeek 6: 57k revenueWeek 7: 74k revenueWeek 8: 68k revenueSelected range: W3 through W6W1W1W2W2W3W3W4W4W5W5W6W6W7W7W8W8

Build Path

Overview Brush Pipeline

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

Pipeline recipe graph

10 pipelines
11 nodes
11 edges

Data Flow Diagram

0/252 nodes
0/451 edges
252 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

4 tables
0 transforms

Imported table

source_gallery_overview
raw
6 columns

ChartSpec

{
  "id": "gallery.overview",
  "data": [
    {
      "id": "source_gallery_overview",
      "rows": 8
    },
    {
      "id": "pipeline_overview_bars_source",
      "rows": 8
    },
    {
      "id": "pipeline_brush_state_source",
      "rows": 1
    },
    {
      "id": "pipeline_brush_selection_window_source",
      "rows": 1
    }
  ],
  "transforms": [],
  "axes": [],
  "grids": [],
  "legends": [],
  "fields": [
    "__rowLabel",
    "id",
    "week",
    "label",
    "value",
    "tooltip",
    "x0",
    "x1",
    "endWeek",
    "startWeek"
  ],
  "scales": [
    {
      "id": "pipeline_x_x_scale",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          8
        ],
        "includeZero": false,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    },
    {
      "id": "pipeline_y_y_scale",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "pipeline_overview_bars_source",
        "field": "value",
        "fields": [],
        "includeZero": true,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    }
  ],
  "layers": [
    {
      "id": "create_chart_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_view_layout_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_plot_layout_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_overview_bars_layer",
      "mark": "rect",
      "role": "data"
    },
    {
      "id": "pipeline_selection_window_layer",
      "mark": "rect",
      "role": "interaction"
    },
    {
      "id": "pipeline_overview_labels_layer",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.overview.scene",
  "scales": [
    {
      "id": "pipeline_x_x_scale",
      "type": "linear",
      "domain": [
        0,
        8
      ],
      "range": [
        52,
        696
      ],
      "ticks": [
        0,
        2,
        4,
        6,
        8
      ]
    },
    {
      "id": "pipeline_y_y_scale",
      "type": "linear",
      "domain": [
        0,
        80
      ],
      "range": [
        156,
        18
      ],
      "ticks": [
        0,
        20,
        40,
        60,
        80
      ]
    }
  ],
  "layers": [
    {
      "id": "create_chart_surface",
      "role": "context",
      "zIndex": -10,
      "glyphs": 1
    },
    {
      "id": "pipeline_view_layout_surface",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "pipeline_plot_layout_surface",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "pipeline_overview_bars_layer",
      "role": "data",
      "zIndex": 10,
      "glyphs": 8
    },
    {
      "id": "pipeline_selection_window_layer",
      "role": "interaction",
      "zIndex": 20,
      "glyphs": 1
    },
    {
      "id": "pipeline_overview_labels_layer",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 8
    }
  ]
}

Glyph Data Tree

6 layers

Full parameter lineage for the active compiler surface.

create_chart_surface

1

pipeline_view_layout_surface

1

pipeline_plot_layout_surface

1

pipeline_overview_bars_layer

8

pipeline_selection_window_layer

1

pipeline_overview_labels_layer

8

Glyph Inspector

none

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