Top Product Table

Raw product rows derive table row geometry, formatted values, and header positions.

Product Table

Data Sources

4

Fields

14

Scales

1

Layers

9

Glyphs

37

rect 6 / line 1 / text 30

Trail Jacket: $18,420Linen Sheet Set: $16,280Everyday Serum: $15,140Noise Cancelling Earbuds: $13,880Organic Snack Box: $12,460ProductCategoryRevenueMarginReturnsTrail JacketLinen Sheet SetEveryday SerumNoise Cancelling EarbudsOrganic Snack BoxOutdoorHomeBeautyElectronicsGrocery$18,420$16,280$15,140$13,880$12,46042%37%49%29%24%6%4%3%9%2%

Data Flow Diagram

0/366 nodes
0/606 edges
366 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
2 transforms

Product metrics

product-metrics
raw
7 columns
feeds table-row-layout

ChartSpec

{
  "id": "gallery.table",
  "data": [
    {
      "id": "product-metrics",
      "rows": 5
    },
    {
      "id": "products",
      "rows": 5
    },
    {
      "id": "column-config",
      "rows": 5
    },
    {
      "id": "headers",
      "rows": 5
    }
  ],
  "transforms": [
    {
      "id": "table-row-layout",
      "type": "layout",
      "input": "product-metrics",
      "output": "products"
    },
    {
      "id": "table-column-layout",
      "type": "layout",
      "input": "column-config",
      "output": "headers"
    }
  ],
  "fields": [
    "product",
    "category",
    "revenue",
    "margin",
    "returns",
    "y",
    "centerY",
    "formattedRevenue",
    "formattedMargin",
    "formattedReturns",
    "tooltip",
    "label",
    "width",
    "x"
  ],
  "scales": [
    {
      "id": "rowFill",
      "type": "ordinal",
      "domain": {
        "source": "field",
        "data": "products",
        "field": "category"
      }
    }
  ],
  "layers": [
    {
      "id": "table-frame",
      "mark": "rect",
      "role": "context"
    },
    {
      "id": "header-rule",
      "mark": "line",
      "role": "guide"
    },
    {
      "id": "row-backgrounds",
      "mark": "rect",
      "role": "data"
    },
    {
      "id": "headers",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "product-cells",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "category-cells",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "revenue-cells",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "margin-cells",
      "mark": "text",
      "role": "guide"
    },
    {
      "id": "return-cells",
      "mark": "text",
      "role": "guide"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.table.scene",
  "scales": [
    {
      "id": "rowFill",
      "type": "ordinal",
      "domain": [
        "Outdoor",
        "Home",
        "Beauty",
        "Electronics",
        "Grocery"
      ],
      "range": [
        "var(--colors-blue-9)",
        "var(--colors-green-9)",
        "var(--colors-amber-9)",
        "var(--colors-purple-9)",
        "var(--colors-red-9)"
      ]
    }
  ],
  "layers": [
    {
      "id": "table-frame",
      "role": "context",
      "zIndex": 0,
      "glyphs": 1
    },
    {
      "id": "header-rule",
      "role": "guide",
      "zIndex": 2,
      "glyphs": 1
    },
    {
      "id": "row-backgrounds",
      "role": "data",
      "zIndex": 5,
      "glyphs": 5
    },
    {
      "id": "headers",
      "role": "guide",
      "zIndex": 10,
      "glyphs": 5
    },
    {
      "id": "product-cells",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "category-cells",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "revenue-cells",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "margin-cells",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    },
    {
      "id": "return-cells",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    }
  ]
}

Glyph Data Tree

9 layers

Full parameter lineage for the active compiler surface.

table-frame

1

header-rule

1

row-backgrounds

5

headers

5

product-cells

5

category-cells

5

revenue-cells

5

margin-cells

5

return-cells

5

Glyph Inspector

none

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