Skip to main content

Vega-Lite Adapter component

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

component image

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.

vega lite adapter overview

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.

Learn More