Tutorials
Tutorials build complete, runnable charts and explain what each action adds. Choose the visual relationship that matches the question you want to answer.
Polar points
Map quantitative fields to clockwise angle and radial distance.
encodeTheta
encodeR
encodePointRadius
Polar lines
Connect ordered angle and radial values as grouped open paths.
createLineMark
encodeTheta
encodeR
Donut chart
Build proportional sectors with an inferred categorical color legend.
createArcMark
encodeTheta
encodeColor
Regression scatterplot
Layer observations, grouped fits, and confidence bands.
createPointMark
createRegression
Density area
Estimate grouped distributions and draw baseline-closed areas.
createAreaMark
encodeDensity
encodeColor
Horizon chart
Compress a long time series by folding values above and below a baseline.
createAreaMark
encodeHorizon
editHorizon
Mark selection and highlighting
Select, filter, and emphasize final point, bar, and line items.
selectMarks
highlightMarks
The bar tutorial uses grouped bars as one layout of the general bar mark. The statistical tutorials compose ordinary data, marks, encodings, and guides rather than introducing a separate renderer path.