# Vegalite Block

This block displays a Vega-Lite(opens new window) chart.

# Usage

To configure this block use this setting:

{
    type: 'vegalite',
    config: {...},
    url: '...' // alternative to 'config' prop
}
Option Description Default Values
type Define this block type (required) "vegalite"
config A valid Vega-Lite javascript object Object
url The URL that points to a valid Vega-Lite json config String URL

Note that config and url are alternatives, one of them needs to be set and valid.

# Installation

Please read the installation istructions for official plugins here using this unique identifier: block-vegalite

You can find the source code in its repository(opens new window) .