vega-lite-api

vl.loess(loess)

Fit a smoothed trend line using local regression.

loess Method Overview

loess API Reference

# loess.as(…value)

The output field names for the smoothed points generated by the loess transform.

Default value: The field names of the input x and y values.

# loess.bandwidth(value)

A bandwidth parameter in the range [0, 1] that determines the amount of smoothing.

Default value: 0.3

# loess.groupby(…value)

The data fields to group by. If not specified, a single group containing all data objects will be used.

# loess.loess(value)

The data field of the dependent variable to smooth.

# loess.on(value)

The data field of the independent variable to use a predictor.