Order Value Distribution

Raw order values are grouped into bins, then rendered as vertical rect geometry.

Histogram

Data Sources

6

Fields

8

Scales

2

Layers

8

Glyphs

47

line 19 / rect 17 / text 11

Interval 1: 1 observationsInterval 2: 2 observationsInterval 3: 2 observationsInterval 4: 3 observationsInterval 5: 7 observationsInterval 6: 9 observationsInterval 7: 8 observationsInterval 8: 17 observationsInterval 9: 20 observationsInterval 10: 16 observationsInterval 11: 15 observationsInterval 12: 11 observationsInterval 13: 6 observationsInterval 14: 3 observationsInterval 15: 2 observationsInterval 16: 2 observationsInterval 17: 1 observations03.46.810.213.61705101520

Data Flow Diagram

0/470 nodes
0/921 edges
470 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

6 tables
1 transforms

Raw order values

orders
raw
3 columns
feeds order-value-bins

ChartSpec

{
  "id": "gallery.histogram",
  "data": [
    {
      "id": "orders",
      "rows": 125
    },
    {
      "id": "bins",
      "rows": 17
    },
    {
      "id": "__guide.x-grid",
      "rows": 6
    },
    {
      "id": "__guide.y-grid",
      "rows": 5
    },
    {
      "id": "__guide.x",
      "rows": 6
    },
    {
      "id": "__guide.y",
      "rows": 5
    }
  ],
  "transforms": [
    {
      "id": "order-value-bins",
      "type": "bin",
      "input": "orders",
      "output": "bins",
      "options": {
        "start": 0,
        "end": 17,
        "step": 1
      }
    }
  ],
  "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",
    "min",
    "max",
    "count",
    "formatted",
    "tooltip",
    "orderValue",
    "value"
  ],
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          17
        ],
        "includeZero": true
      }
    },
    {
      "id": "y",
      "type": "linear",
      "domain": {
        "source": "values",
        "values": [
          0,
          20
        ],
        "includeZero": true
      }
    }
  ],
  "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": "bins",
      "mark": "rect",
      "role": "data"
    }
  ]
}

Resolved SceneGraph

{
  "scene": "gallery.histogram.scene",
  "scales": [
    {
      "id": "x",
      "type": "linear",
      "domain": [
        0,
        17
      ],
      "range": [
        64,
        692
      ],
      "ticks": [
        0,
        3.4,
        6.8,
        10.2,
        13.6,
        17
      ]
    },
    {
      "id": "y",
      "type": "linear",
      "domain": [
        0,
        20
      ],
      "range": [
        266,
        24
      ],
      "ticks": [
        0,
        5,
        10,
        15,
        20
      ]
    }
  ],
  "layers": [
    {
      "id": "x-grid",
      "role": "guide",
      "zIndex": 0,
      "glyphs": 6
    },
    {
      "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": 6
    },
    {
      "id": "bins",
      "role": "data",
      "zIndex": 10,
      "glyphs": 17
    },
    {
      "id": "x-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 6
    },
    {
      "id": "y-labels",
      "role": "guide",
      "zIndex": 20,
      "glyphs": 5
    }
  ]
}

Glyph Data Tree

8 layers

Full parameter lineage for the active compiler surface.

x-grid

6

y-grid

5

x-axis

1

y-axis

1

x-tick-marks

6

bins

17

x-labels

6

y-labels

5

Glyph Inspector

none

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