Skip to main content

Chart

Create charts using Observable Plot (bar, histogram, scatter).

Syntax​

{ "id": "n1", "op": "ChartOp", "name": "chart", "x": 0, "y": 0, "params": {} }

One out of it starts at "sourcePort": "chart".

Inputs​

This operator has no input ports.

Parameters​

ParameterKindDefaultChoices
datafield[]
chartTypefield"bar"
xFieldfield""
yFieldfield""
widthfield640
heightfield400
colorfield"#4269d0ff"
titlefield""
xLabelfield""
yLabelfield""

Outputs​

PortType
chartvalue

Details​

  • Category: Host operators
  • Operator: ChartOp
  • Runs: on the page, not in the engine: it cannot be compiled to SQL or an expression