vega-lite-api

vl.inlineData(values)

Define a inline data source.

The behavior of this method depends on the argument type:

inlineData Method Overview

inlineData API Reference

# inlineData.format(value)

An object that specifies the format for parsing the data.

# inlineData.name(value)

Provide a placeholder name and bind data at runtime.

# inlineData.values(values)

The full data set, included inline. This can be an array of objects or primitive values, an object, or a string. Arrays of primitive values are ingested as objects with a data property. Strings are parsed according to the specified format type.

The behavior of this method depends on the argument type: