Calendar

Rebuilds the calendar chart with month-cell layout rows, day numbers, weekday labels, and a color legend.

Calendar
Gallery Calendar Pipeline pipeline

Data Sources

6

Fields

22

Scales

1

Layers

11

Glyphs

85

rect 39 / text 46

value calendar panelMay 1, 2026: 18May 2, 2026: 27May 3, 2026: 35May 4, 2026: 44May 5, 2026: 51May 6, 2026: 62May 7, 2026: 39May 8, 2026: 22May 9, 2026: 48May 10, 2026: 54May 11, 2026: 63May 12, 2026: 70May 13, 2026: 58May 14, 2026: 42May 15, 2026: 31May 16, 2026: 45May 17, 2026: 57May 18, 2026: 74May 19, 2026: 82May 20, 2026: 66May 21, 2026: 49May 22, 2026: 33May 23, 2026: 41May 24, 2026: 52May 25, 2026: 69May 26, 2026: 77May 27, 2026: 61May 28, 2026: 46May 29, 2026: 28May 30, 2026: 37May 31, 2026: 55SunSunMonMonTueTueWedWedThuThuFriFriSatSatMay 2026May 202612345678910111213141516171819202122232425262728293031020406080value

Build Path

Gallery Calendar Pipeline

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

Pipeline recipe graph

9 pipelines
10 nodes
7 edges

Data Flow Diagram

0/979 nodes
0/1835 edges
979 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

6 tables
1 transforms

Imported table

source_gallery_calendar
raw
5 columns
feeds pipeline_calendar_cells_transform

ChartSpec

{
  "id": "gallery.calendar",
  "data": [
    {
      "id": "source_gallery_calendar",
      "rows": 31
    },
    {
      "id": "pipeline_weekday_labels_source",
      "rows": 7
    },
    {
      "id": "source_calendar_cells",
      "rows": 31
    },
    {
      "id": "pipeline_month_title_layer_literal_text",
      "rows": 1
    },
    {
      "id": "__guide.pipeline_colorlegend_guide",
      "rows": 5
    },
    {
      "id": "__guide.pipeline_colorlegend_guide.title",
      "rows": 1
    }
  ],
  "transforms": [
    {
      "id": "pipeline_calendar_cells_transform",
      "type": "layout",
      "input": "source_gallery_calendar",
      "output": "source_calendar_cells",
      "options": {
        "count": 1,
        "errorMethod": "standardError",
        "field": "date",
        "fit": "contain",
        "idPrefix": "calendar-day",
        "includeMax": true,
        "layout": "pipeline_value_calendar_panel_layout",
        "layoutKind": "calendarMonth",
        "layoutMode": "proportionalAngle",
        "mode": "normal",
        "order": [],
        "paddingInner": 5,
        "value": "value"
      }
    }
  ],
  "axes": [],
  "grids": [],
  "legends": [
    {
      "id": "pipeline_colorlegend_guide",
      "scale": "pipeline_value_color_color_scale",
      "kind": "color",
      "title": "value"
    }
  ],
  "fields": [
    "__rowLabel",
    "id",
    "date",
    "value",
    "label",
    "x",
    "y",
    "centerX",
    "centerY",
    "day",
    "height",
    "month",
    "tooltip",
    "week",
    "weekday",
    "weekdayLabel",
    "width",
    "text",
    "symbolX",
    "symbolY",
    "labelX",
    "labelY"
  ],
  "scales": [
    {
      "id": "pipeline_value_color_color_scale",
      "type": "sequential",
      "domain": {
        "source": "field",
        "data": "source_calendar_cells",
        "field": "value",
        "fields": [],
        "includeZero": true,
        "order": "input",
        "reverse": false,
        "symmetric": false
      }
    }
  ],
  "layers": [
    {
      "id": "pipeline_colorlegend_guide-swatches",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "pipeline_colorlegend_guide-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_colorlegend_guide-title",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "create_chart_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_value_calendar_panel_layout_surface",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "pipeline_value_calendar_panel_layout_frame",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "pipeline_value_calendar_panel_layout_label",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_value_calendar_cells_layer",
      "mark": "rect",
      "role": "data"
    },
    {
      "id": "pipeline_weekday_labels_layer",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_day_numbers_layer",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "pipeline_month_title_layer",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.calendar.scene",
  "scales": [
    {
      "id": "pipeline_value_color_color_scale",
      "type": "sequential",
      "domain": [
        0,
        82
      ],
      "range": [
        "var(--colors-blue-4)",
        "var(--colors-orange-9)"
      ],
      "ticks": [
        0,
        20,
        40,
        60,
        80
      ]
    }
  ],
  "layers": [
    {
      "id": "create_chart_surface",
      "role": "context",
      "zIndex": -10,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_calendar_panel_layout_surface",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_calendar_panel_layout_frame",
      "role": "guide",
      "zIndex": 1,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_calendar_panel_layout_label",
      "role": "guide",
      "zIndex": 2,
      "glyphs": 1
    },
    {
      "id": "pipeline_value_calendar_cells_layer",
      "role": "data",
      "zIndex": 20,
      "glyphs": 31
    },
    {
      "id": "pipeline_weekday_labels_layer",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 7
    },
    {
      "id": "pipeline_month_title_layer",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 1
    },
    {
      "id": "pipeline_day_numbers_layer",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 31
    },
    {
      "id": "pipeline_colorlegend_guide-swatches",
      "role": "guide",
      "zIndex": 40,
      "glyphs": 5
    },
    {
      "id": "pipeline_colorlegend_guide-labels",
      "role": "guide",
      "zIndex": 41,
      "glyphs": 5
    },
    {
      "id": "pipeline_colorlegend_guide-title",
      "role": "guide",
      "zIndex": 42,
      "glyphs": 1
    }
  ]
}

Glyph Data Tree

11 layers

Full parameter lineage for the active compiler surface.

create_chart_surface

1

pipeline_value_calendar_panel_layout_surface

1

pipeline_value_calendar_panel_layout_frame

1

pipeline_value_calendar_panel_layout_label

1

pipeline_value_calendar_cells_layer

31

pipeline_weekday_labels_layer

7

pipeline_month_title_layer

1

pipeline_day_numbers_layer

31

pipeline_colorlegend_guide-swatches

5

pipeline_colorlegend_guide-labels

5

pipeline_colorlegend_guide-title

1

Glyph Inspector

none

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