Marks

Learn about the different types of marks and implement a practical example.

We'll cover the following

Marks specify how to represent data in the visualization. Altair supports different marks, such as bar charts, line charts, heatmaps, box plots, and many more. To define the type of mark, we’ll use the mark_*() function, in which * indicates the type of mark. For example, to represent a bar chart, we use the mark_bar() function.

The following table shows the most common mark properties:

Get hands-on with 1400+ tech skills courses.