Stream Graph

Raw period/category rows compile into stream-centered stack boundaries before smooth filled bands render flow over time.

Stream Graph

Data Sources

8

Fields

16

Scales

3

Layers

12

Glyphs

57

line 30 / path 4 / text 19 / rect 4

Stream Graph: 9 pointsStream Graph: 9 pointsStream Graph: 9 pointsStream Graph: 9 pointsJanFebMarAprMayJunJulAugSep-150k-75k0k75k150kSearchSocialRetailPartnerSeries

Data Flow Diagram

0/550 nodes
0/1018 edges
550 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

8 tables
1 transforms

Raw stream series

raw-stream-series
raw
6 columns
feeds stream-stack-boundaries

ChartSpec

{
  "id": "catalogue.stream-graph",
  "data": [
    {
      "id": "raw-stream-series",
      "rows": 36
    },
    {
      "id": "segments",
      "rows": 36
    },
    {
      "id": "__guide.x-grid",
      "rows": 9
    },
    {
      "id": "__guide.y-grid",
      "rows": 5
    },
    {
      "id": "__guide.x",
      "rows": 9
    },
    {
      "id": "__guide.y",
      "rows": 5
    },
    {
      "id": "__guide.stream-series-legend",
      "rows": 4
    },
    {
      "id": "__guide.stream-series-legend.title",
      "rows": 1
    }
  ],
  "transforms": [
    {
      "id": "stream-stack-boundaries",
      "type": "stack",
      "input": "raw-stream-series",
      "output": "segments",
      "options": {
        "order": [
          "Search",
          "Social",
          "Retail",
          "Partner"
        ],
        "mode": "stream"
      }
    }
  ],
  "axes": [
    {
      "id": "x",
      "scale": "x",
      "orientation": "bottom"
    },
    {
      "id": "y",
      "scale": "y",
      "orientation": "left",
      "tickFormat": {
        "suffix": "k",
        "maximumFractionDigits": 0
      }
    }
  ],
  "grids": [
    {
      "id": "x-grid",
      "scale": "x",
      "orientation": "x"
    },
    {
      "id": "y-grid",
      "scale": "y",
      "orientation": "y"
    }
  ],
  "legends": [
    {
      "id": "stream-series-legend",
      "scale": "color",
      "kind": "color",
      "title": "Series"
    }
  ],
  "fields": [
    "period",
    "periodIndex",
    "series",
    "start",
    "end",
    "value",
    "tooltip",
    "total",
    "label",
    "x",
    "y",
    "symbolX",
    "symbolY",
    "labelX",
    "labelY",
    "text"
  ],
  "scales": [
    {
      "id": "x",
      "type": "band",
      "domain": {
        "source": "field",
        "data": "segments",
        "field": "period"
      }
    },
    {
      "id": "y",
      "type": "linear",
      "domain": {
        "source": "field",
        "data": "segments",
        "field": "end",
        "fields": [
          "start",
          "end"
        ],
        "includeZero": true,
        "padding": 0.08
      }
    },
    {
      "id": "color",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "segments",
        "field": "series"
      }
    }
  ],
  "layers": [
    {
      "id": "x-grid",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "y-grid",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "x-axis",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "x-tick-marks",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "x-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "y-axis",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "y-tick-marks",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "y-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "stream-series-legend-swatches",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "stream-series-legend-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "stream-series-legend-title",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "stream-bands",
      "mark": "path",
      "role": "data",
      "path": {
        "directD": false,
        "areaBand": true,
        "closedToY": false,
        "curve": "smooth",
        "groupBy": [
          "series"
        ],
        "sortBy": "periodIndex"
      }
    }
  ]
}

Resolved SceneGraph

{
  "scene": "catalogue.stream-graph.scene",
  "scales": [
    {
      "id": "x",
      "type": "band",
      "domain": [
        "Jan",
        "Feb",
        "Mar",
        "Apr",
        "May",
        "Jun",
        "Jul",
        "Aug",
        "Sep"
      ],
      "range": [
        68,
        726
      ],
      "bandwidth": 64.625
    },
    {
      "id": "y",
      "type": "linear",
      "domain": [
        -150,
        150
      ],
      "range": [
        294,
        46
      ],
      "ticks": [
        -150,
        -75,
        0,
        75,
        150
      ]
    },
    {
      "id": "color",
      "type": "ordinal",
      "domain": [
        "Search",
        "Social",
        "Retail",
        "Partner"
      ],
      "range": [
        "var(--colors-blue-9)",
        "var(--colors-green-9)",
        "var(--colors-amber-9)",
        "var(--colors-purple-9)",
        "var(--colors-red-9)"
      ]
    }
  ],
  "layers": [
    {
      "id": "x-grid",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 9
    },
    {
      "id": "y-grid",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 5
    },
    {
      "id": "x-axis",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "y-axis",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "x-tick-marks",
      "role": "guide",
      "zIndex": 5,
      "glyphs": 9
    },
    {
      "id": "y-tick-marks",
      "role": "guide",
      "zIndex": 5,
      "glyphs": 5
    },
    {
      "id": "stream-bands",
      "role": "data",
      "zIndex": 10,
      "glyphs": 4
    },
    {
      "id": "x-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 9
    },
    {
      "id": "y-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "stream-series-legend-swatches",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 4
    },
    {
      "id": "stream-series-legend-labels",
      "role": "guide",
      "zIndex": 31,
      "glyphs": 4
    },
    {
      "id": "stream-series-legend-title",
      "role": "guide",
      "zIndex": 32,
      "glyphs": 1
    }
  ]
}

Glyph Data Tree

12 layers

Full parameter lineage for the active compiler surface.

x-grid

9

y-grid

5

x-axis

1

y-axis

1

x-tick-marks

9

y-tick-marks

5

stream-bands

4

x-labels

9

y-labels

5

stream-series-legend-swatches

4

stream-series-legend-labels

4

stream-series-legend-title

1

Glyph Inspector

none

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