viz.vegalite

Render a Vega-Lite spec over the connected tables. Data comes only from the tables, named t0, t1, ...; specs with URLs, inline values or image marks are refused.

  • Kind: standard
  • Network: no
  • Memory: 8Gi

Inputs🔗

NameTypeRequiredDefaultDescription
specfile (Vega-Lite)yesThe Vega-Lite spec (JSON).
tablescollection of file (Parquet)noTables the spec names as t0, t1, ... in order.
formatstringnopngImage format. html is a static, self-contained page. One of png, svg, html.
max_rowsnumberno1000000Refuse to render tables larger than this; aggregate upstream instead.

Outputs🔗

NameTypeDescription
chartfile (PNG)The rendered chart.

Example🔗

- id: "@vegalite"
  name: viz.vegalite
  inputs: [{block: "@chart_spec", output: spec, as: spec}, {block: "@plots", output: result, as: tables}]
  args:
    format: svg