Root definitions

GenericUnitSpec<Encoding,AnyMark>

Permalink

Base interface for a unit (single-view) specification.

Properties

data

anyOf [anyOf [anyOf [UrlData, InlineData, NamedData], anyOf [SequenceGenerator, SphereGenerator, GraticuleGenerator]], null]

An object describing the data source. Set to null to ignore the parent's data source. If no data is set, it is derived from the parent.

description

string

Description of this mark for commenting purpose.

encoding

Encoding

mark Required

anyOf [anyOf [string, string, string], anyOf [BoxPlotDef, ErrorBarDef, ErrorBandDef], string, MarkDef]

name

string

Name of the visualization for later reference.

params

Array<SelectionParameter>

An array of parameters that may either be simple variables, or more complex selections that map user input to data queries.

projection

Projection

title

anyOf [anyOf [string, Array<string>], TitleParams]

Title for the plot.

transform

Array<anyOf [AggregateTransform, BinTransform, CalculateTransform, DensityTransform, ExtentTransform, FilterTransform, FlattenTransform, FoldTransform, ImputeTransform, JoinAggregateTransform, LoessTransform, LookupTransform, QuantileTransform, RegressionTransform, TimeUnitTransform, SampleTransform, StackTransform, WindowTransform, PivotTransform]>

An array of data transformations such as filter and new field calculation.

Loading...

Editor and Validator