Scatterplot

Paired observations compile to point glyphs for relationship and outlier analysis.

Scatterplot

Data Sources

7

Fields

9

Scales

3

Layers

10

Glyphs

42

line 17 / path 1 / point 12 / text 12

Scatterplot: 2 pointsAster: 14 reach, 24 conversionBirch: 21 reach, 34 conversionCedar: 28 reach, 31 conversionDune: 36 reach, 42 conversionElm: 44 reach, 48 conversionFern: 52 reach, 57 conversionGrove: 58 reach, 54 conversionHarbor: 64 reach, 66 conversionIris: 72 reach, 74 conversionJuniper: 78 reach, 69 conversionKeystone: 88 reach, 38 conversionLumen: 34 reach, 79 conversion022.54567.590022.54567.590KeystoneLumen

Data Flow Diagram

0/400 nodes
0/745 edges
400 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

Scatter observations

points
raw
7 columns
feeds scatter-regression

ChartSpec

{
  "id": "catalogue.scatterplot",
  "data": [
    {
      "id": "points",
      "rows": 12
    },
    {
      "id": "outlier-labels",
      "rows": 2
    },
    {
      "id": "trend",
      "rows": 2
    },
    {
      "id": "__guide.x-grid",
      "rows": 5
    },
    {
      "id": "__guide.y-grid",
      "rows": 5
    },
    {
      "id": "__guide.x",
      "rows": 5
    },
    {
      "id": "__guide.y",
      "rows": 5
    }
  ],
  "transforms": [
    {
      "id": "scatter-regression",
      "type": "regression",
      "input": "points",
      "output": "trend",
      "options": {
        "xField": "x",
        "yField": "y",
        "start": 12,
        "end": 88
      }
    }
  ],
  "axes": [
    {
      "id": "x",
      "scale": "x",
      "orientation": "bottom"
    },
    {
      "id": "y",
      "scale": "y",
      "orientation": "left"
    }
  ],
  "grids": [
    {
      "id": "x-grid",
      "scale": "x",
      "orientation": "x"
    },
    {
      "id": "y-grid",
      "scale": "y",
      "orientation": "y"
    }
  ],
  "fields": [
    "label",
    "category",
    "x",
    "y",
    "tooltip",
    "slope",
    "intercept",
    "rSquared",
    "value"
  ],
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          90
        ],
        "includeZero": true
      }
    },
    {
      "id": "y",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          90
        ],
        "includeZero": true
      }
    },
    {
      "id": "color",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "points",
        "field": "category"
      }
    }
  ],
  "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-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "best-fit",
      "mark": "path",
      "role": "guide",
      "path": {
        "directD": false,
        "areaBand": false,
        "closedToY": false,
        "curve": "linear",
        "sortBy": "x"
      }
    },
    {
      "id": "points",
      "mark": "point",
      "role": "data"
    },
    {
      "id": "outlier-labels",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "catalogue.scatterplot.scene",
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": [
        0,
        90
      ],
      "range": [
        58,
        686
      ],
      "ticks": [
        0,
        22.5,
        45,
        67.5,
        90
      ]
    },
    {
      "id": "y",
      "type": "linear",
      "domain": [
        0,
        90
      ],
      "range": [
        296,
        24
      ],
      "ticks": [
        0,
        22.5,
        45,
        67.5,
        90
      ]
    },
    {
      "id": "color",
      "type": "ordinal",
      "domain": [
        "Core",
        "Growth",
        "Scale",
        "Outlier"
      ],
      "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": 5
    },
    {
      "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": 5
    },
    {
      "id": "best-fit",
      "role": "guide",
      "zIndex": 5,
      "glyphs": 1
    },
    {
      "id": "points",
      "role": "data",
      "zIndex": 10,
      "glyphs": 12
    },
    {
      "id": "x-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "y-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "outlier-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 2
    }
  ]
}

Glyph Data Tree

10 layers

Full parameter lineage for the active compiler surface.

x-grid

5

y-grid

5

x-axis

1

y-axis

1

x-tick-marks

5

best-fit

1

points

12

x-labels

5

y-labels

5

outlier-labels

2

Glyph Inspector

none

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