Combining Multiple Charts

Learn how to combine multiple charts in Altair.

Altair enables us to combine multiple charts into a single compound chart. Altair supports the following compound charts: layering, horizontal concatenation, vertical concatenation, and repeated charts.

We’ll use the sales dataset to illustrate how to combine multiple charts in Altair. We’ll produce two charts:

  1. A bar chart showing the total sales for each product category:

Get hands-on with 1400+ tech skills courses.