viz.box

Box plot of a value per category.

  • Kind: standard
  • Network: no

Inputs🔗

NameTypeRequiredDefaultDescription
tablefile (Parquet)yesTable to chart (Parquet or CSV).
xstringyesCategory column.
ystringyesValue column.
colorstringnoblankColumn to colour boxes by.
titlestringnoblankChart title. ${item.key} labels each chart inside a map.
widthnumberno600Width in pixels.
heightnumberno400Height in pixels.
formatstringnopngImage format. html is a static, self-contained page. One of png, svg, html.

Outputs🔗

NameTypeDescription
chartfile (PNG)The rendered chart.
specjson (Vega-Lite)The Vega-Lite spec the block built; edit it and render with viz.vegalite.

Example🔗

- id: "@box"
  name: viz.box
  inputs: [{block: "@plots", output: result, as: table}]
  args:
    x: state
    y: biomass
    title: ''
    format: png