Bubble Chart

Two quantitative axes position each bubble while circle area represents a third measure.

Bubble Chart

Data Sources

9

Fields

14

Scales

4

Layers

14

Glyphs

51

line 17 / point 11 / text 19 / rect 4

North Enterprise: 920 accountsNorth Consumer: 420 accountsSouth Enterprise: 780 accountsSouth Consumer: 560 accountsWest Enterprise: 1,040 accountsWest Consumer: 610 accountsEast Enterprise: 870 accountsEast Consumer: 510 accounts022.54567.590022.54567.590NorthSouthWestEast2506501,050RegionAccounts

Data Flow Diagram

0/493 nodes
0/895 edges
493 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

9 tables
0 transforms

Segment bubbles

bubbles
raw
9 columns

ChartSpec

{
  "id": "catalogue.bubble-chart",
  "data": [
    {
      "id": "bubbles",
      "rows": 8
    },
    {
      "id": "__guide.x-grid",
      "rows": 5
    },
    {
      "id": "__guide.y-grid",
      "rows": 5
    },
    {
      "id": "__guide.x",
      "rows": 5
    },
    {
      "id": "__guide.y",
      "rows": 5
    },
    {
      "id": "__guide.region-legend",
      "rows": 4
    },
    {
      "id": "__guide.region-legend.title",
      "rows": 1
    },
    {
      "id": "__guide.account-size-legend",
      "rows": 3
    },
    {
      "id": "__guide.account-size-legend.title",
      "rows": 1
    }
  ],
  "transforms": [],
  "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"
    }
  ],
  "legends": [
    {
      "id": "region-legend",
      "scale": "color",
      "kind": "color",
      "title": "Region"
    },
    {
      "id": "account-size-legend",
      "scale": "r",
      "kind": "size",
      "title": "Accounts",
      "values": [
        250,
        650,
        1050
      ]
    }
  ],
  "fields": [
    "region",
    "segment",
    "x",
    "y",
    "size",
    "formattedSize",
    "tooltip",
    "value",
    "label",
    "symbolX",
    "symbolY",
    "labelX",
    "labelY",
    "text"
  ],
  "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": "r",
      "type": "sqrt",
      "domain": {
        "source": "field",
        "data": "bubbles",
        "field": "size",
        "includeZero": true
      }
    },
    {
      "id": "color",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "bubbles",
        "field": "region"
      }
    }
  ],
  "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": "region-legend-swatches",
      "mark": "rect",
      "role": "guide"
    },
    {
      "id": "region-legend-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "region-legend-title",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "account-size-legend-symbols",
      "mark": "point",
      "role": "guide"
    },
    {
      "id": "account-size-legend-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "account-size-legend-title",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "bubbles",
      "mark": "point",
      "role": "data"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "catalogue.bubble-chart.scene",
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": [
        0,
        90
      ],
      "range": [
        58,
        652
      ],
      "ticks": [
        0,
        22.5,
        45,
        67.5,
        90
      ]
    },
    {
      "id": "y",
      "type": "linear",
      "domain": [
        0,
        90
      ],
      "range": [
        316,
        56
      ],
      "ticks": [
        0,
        22.5,
        45,
        67.5,
        90
      ]
    },
    {
      "id": "r",
      "type": "sqrt",
      "domain": [
        0,
        1040
      ],
      "range": [
        9,
        29
      ],
      "ticks": [
        0,
        260,
        520,
        780,
        1040
      ]
    },
    {
      "id": "color",
      "type": "ordinal",
      "domain": [
        "North",
        "South",
        "West",
        "East"
      ],
      "range": [
        "var(--colors-red-8)",
        "var(--colors-orange-8)",
        "var(--colors-blue-8)",
        "var(--colors-green-8)"
      ]
    }
  ],
  "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": "bubbles",
      "role": "data",
      "zIndex": 10,
      "glyphs": 8
    },
    {
      "id": "x-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "y-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "region-legend-swatches",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 4
    },
    {
      "id": "account-size-legend-symbols",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 3
    },
    {
      "id": "region-legend-labels",
      "role": "guide",
      "zIndex": 31,
      "glyphs": 4
    },
    {
      "id": "account-size-legend-labels",
      "role": "guide",
      "zIndex": 31,
      "glyphs": 3
    },
    {
      "id": "region-legend-title",
      "role": "guide",
      "zIndex": 32,
      "glyphs": 1
    },
    {
      "id": "account-size-legend-title",
      "role": "guide",
      "zIndex": 32,
      "glyphs": 1
    }
  ]
}

Glyph Data Tree

14 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

bubbles

8

x-labels

5

y-labels

5

region-legend-swatches

4

account-size-legend-symbols

3

region-legend-labels

4

account-size-legend-labels

3

region-legend-title

1

account-size-legend-title

1

Glyph Inspector

none

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