Vega-Lite Adapter component

Convert Vega-Lite specification to Vega specification. Can be used with Vega Chart widget.

https://kroki.io/svgbob/svg/eNpT0NPFBvS4FGoUFMJS0xN1fTJLUhUcUxILSlKLFBRqgBJYddRw6eYrpCSWJCqAQRlIa3FBarJCvi5IJgdoCoSPAECz1LGapQ4ASzUiag==

In-ports

data Array - The data for the chart.

lite-spec JSON - The chart configuration as Vega-Lite JSON specification.

Out-ports

vega-spec JSON - The chart configuration as Vega JSON specification.

Overview

Vega-Lite is a high-level grammar for interactive graphics. To use Vega-Lite spec for chart, you can convert Vega-Lite specification into a lower-level, more detailed Vega specification using this Vega-Lite Adapter component.

https://cdn.sanity.io/images/n16unevp/production/80f2739c475b12d3c0dff859e83f68b23210f451-1942x668.png?w=1000&fit=max

Connect chart data to data input and Vega-Lite specification to lite-spec input. Then connect vega-spec output directly to spec input on Vega Chart widget.

Learn more about as Vega-Lite specification.

Related

Learn More