Marks#

We saw in Encodings that the encode() method is used to map columns to visual attributes of the plot. The mark property is what specifies how exactly those attributes should be represented on the plot.

Altair provides a number of basic mark properties (the mark properties column links to the Vega-Lite documentation that allows you to interactively explore the effects of modifying each property):

Mark

Method

Description

Geoshape

mark_geoshape()

Visualization containing spatial data