Package smile.plot.vega
package smile.plot.vega
Declarative data visualization.
-
ClassDescriptionAxes provide axis lines, ticks, and labels to convey how a positional range represents a data range.The view background of a single-view or layer specification.To test a data point in a filter transform or a test property in conditional encoding, a predicate definition of the following forms must be specified:Concatenating views.Vega-Lite's config object lists configuration properties of a visualization for creating a consistent theme.The basic data model used by Vega-Lite is tabular data.The density transform performs one-dimensional kernel density estimation over an input data stream and generates a new data stream of samples of the estimated densities.A facet is a trellis plot (or small multiple) of a series of similar plots that displays different subsets of the same data, facilitating comparison across subsets.Facet field definition object.Encoding field definition object.These config properties define the default number and time formats for text marks as well as axes, headers, tooltip, and legends.The impute transform groups data and determines missing values of the key field within each group.To superimpose one chart on top of another.Similar to axes, legends visualize scales.The loess transform (for locally-estimated scatterplot smoothing) uses locally-estimated regression to produce a trend line.The density transform performs one-dimensional kernel density estimation over an input data stream and generates a new data stream of samples of the estimated densities.Mark definition object.The pivot transform maps unique values from a field to new aggregated fields (columns) in the output stream.To test a data point in a filter transform or a test property in conditional encoding, a predicate definition of the following forms must be specified:The geographic projection, which will be applied to shape path for "geoshape" marks and to latitude and "longitude" channels for other marks.The quantile transform calculates empirical quantile values for an input data stream.The regression transform fits two-dimensional regression models to smooth and predict data.Repeat a View.A sort field definition for sorting data objects within a window.The stack transform.View-level data transformations such as filter and new field calculation.Vega-Lite specifications are JSON objects that describe a diverse range of interactive visualizations.Single view specification, which describes a view that uses a single mark type to visualize the data.All view composition specifications (layer, facet, concat, and repeat) can have the resolve property for scale, axes, and legend resolution.The style of a single view visualization.All view layout composition (facet, concat, and repeat) can have the following layout properties: align, bounds, center, spacing.The window transform performs calculations over sorted groups of data objects.A sort field definition for sorting data objects within a window.