Proportional Area Chart

Comparable circles use area-correct radius mapping so visual area represents the underlying quantity.

Proportional Area Chart

Data Sources

4

Fields

12

Scales

2

Layers

7

Glyphs

23

line 1 / point 8 / text 14

Core: 18% relative contributionGrowth: 34% relative contributionSeasonal: 51% relative contributionPremium: 73% relative contributionWholesale: 96% relative contributionCoreGrowthSeasonalPremiumWholesale18%34%51%73%96%25%60%100%Relative size

Data Flow Diagram

0/237 nodes
0/408 edges
237 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

Proportional area values

areas
raw
6 columns

ChartSpec

{
  "id": "catalogue.proportional-area",
  "data": [
    {
      "id": "areas",
      "rows": 5
    },
    {
      "id": "__guide.x",
      "rows": 5
    },
    {
      "id": "__guide.relative-size-legend",
      "rows": 3
    },
    {
      "id": "__guide.relative-size-legend.title",
      "rows": 1
    }
  ],
  "transforms": [],
  "axes": [
    {
      "id": "x",
      "scale": "x",
      "orientation": "bottom"
    }
  ],
  "legends": [
    {
      "id": "relative-size-legend",
      "scale": "r",
      "kind": "size",
      "title": "Relative size",
      "values": [
        25,
        60,
        100
      ]
    }
  ],
  "fields": [
    "category",
    "value",
    "formatted",
    "tooltip",
    "label",
    "x",
    "y",
    "symbolX",
    "symbolY",
    "labelX",
    "labelY",
    "text"
  ],
  "scales": [
    {
      "id": "x",
      "type": "band",
      "domain": {
        "source": "field",
        "data": "areas",
        "field": "category"
      }
    },
    {
      "id": "r",
      "type": "sqrt",
      "domain": {
        "source": "field",
        "data": "areas",
        "field": "value",
        "includeZero": true
      }
    }
  ],
  "layers": [
    {
      "id": "x-axis",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "x-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "relative-size-legend-symbols",
      "mark": "point",
      "role": "guide"
    },
    {
      "id": "relative-size-legend-labels",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "relative-size-legend-title",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "areas",
      "mark": "point",
      "role": "data"
    },
    {
      "id": "value-labels",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "catalogue.proportional-area.scene",
  "scales": [
    {
      "id": "x",
      "type": "band",
      "domain": [
        "Core",
        "Growth",
        "Seasonal",
        "Premium",
        "Wholesale"
      ],
      "range": [
        50,
        616
      ],
      "bandwidth": 84.10441767068272
    },
    {
      "id": "r",
      "type": "sqrt",
      "domain": [
        0,
        96
      ],
      "range": [
        10,
        44
      ],
      "ticks": [
        0,
        24,
        48,
        72,
        96
      ]
    }
  ],
  "layers": [
    {
      "id": "x-axis",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "areas",
      "role": "data",
      "zIndex": 10,
      "glyphs": 5
    },
    {
      "id": "x-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "value-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "relative-size-legend-symbols",
      "role": "guide",
      "zIndex": 30,
      "glyphs": 3
    },
    {
      "id": "relative-size-legend-labels",
      "role": "guide",
      "zIndex": 31,
      "glyphs": 3
    },
    {
      "id": "relative-size-legend-title",
      "role": "guide",
      "zIndex": 32,
      "glyphs": 1
    }
  ]
}

Glyph Data Tree

7 layers

Full parameter lineage for the active compiler surface.

x-axis

1

areas

5

x-labels

5

value-labels

5

relative-size-legend-symbols

3

relative-size-legend-labels

3

relative-size-legend-title

1

Glyph Inspector

none

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