DOC: add LOESS transform documentation
@@ -326,7 +326,10 @@ argument. Here we split the above denity computation across movie genres:
)
-Other availabl options and settings are summarized in this table:
+Transform Options
+^^^^^^^^^^^^^^^^^
+The :meth:`~Chart.transform_density` method is built on the
+:class:`~DensityTransform` class, which has the following options:
.. altair-object-table:: altair.DensityTransform
@@ -838,6 +841,46 @@ The :meth:`~Chart.transform_joinaggregate` method is built on the
.. altair-object-table:: altair.JoinAggregateTransform
+.. _user-guide-loess-transform:
+
+LOESS Transform
+~~~~~~~~~~~~~~~
+The LOESS transform (LOcally Estimated Scatterplot Smoothing) uses a
+locally-estimated regression to produce a trend line.
+LOESS performs a sequence of local weighted regressions over a sliding
+window of nearest-neighbor points. For standard parametric regression options,
+see the :ref:`user-guide-regression-transform`.
+
+Here is an example of using LOESS to smooth samples from a Gaussian random walk:
+
+.. altair-plot::
+
+ import altair as alt
+ import pandas as pd
+ import numpy as np
+
+ np.random.seed(42)
+
+ df = pd.DataFrame({
+ 'x': range(100),
+ 'y': np.random.randn(100).cumsum()
+ })
+
+ chart = alt.Chart(df).mark_point().encode(
+ x='x',
+ y='y'
+ )
+
+ chart + chart.transform_loess('x', 'y').mark_line()
+
+
+Transform Options
+^^^^^^^^^^^^^^^^^
+The :meth:`~Chart.transform_loess` method is built on the
+:class:`~LoessTransform` class, which has the following options:
+
+.. altair-object-table:: altair.LoessTransform
+
.. _user-guide-lookup-transform:
Lookup Transform
@@ -965,6 +1008,33 @@ class, which has the following options:
.. altair-object-table:: altair.LookupTransform
+.. _user-guide-pivot-transform:
+
+Pivot Transform
+~~~~~~~~~~~~~~~
+The :meth:`~Chart.transform_pivot` method is built on the :class:`~PivotTransform`
+class, which has the following options:
+
+.. altair-object-table:: altair.PivotTransform
+
+.. _user-guide-quantile-transform:
+
+Quantile Transform
+~~~~~~~~~~~~~~~~~~
+The :meth:`~Chart.transform_quantile` method is built on the :class:`~QuantileTransform`
+class, which has the following options:
+
+.. altair-object-table:: altair.QuantileTransform
+
+.. _user-guide-regression-transform:
+
+Regression Transform
+~~~~~~~~~~~~~~~~~~~~
+The :meth:`~Chart.transform_regression` method is built on the :class:`~RegressionTransform`
+class, which has the following options:
+
+.. altair-object-table:: altair.RegressionTransform
+
.. _user-guide-sample-transform:
Sample Transform
