Type: Stacked Bar Chart

Chart type overview.

The Stacked Bar Chart layout allows to perform a part-to-whole comparisons over time or across categories. The setup is similar to that of the Bar Chart with the only difference that you can select multiple fields for the Y axis. Let's consider a specific example to get a better idea of how this works.

In the example below, we have a quarterly revenue data for multiple companies in Airtable.

Company revenue data
Company revenue data

Using the stacked chart layout, we can present this data in a way that allows the viewers to compare a specific company's quarterly revenues with one another and with the yearly number. Moreover, it will also make it easy to compare the yearly revenues of the different companies visually.

To do this, we first need to connect out Airtable base and table from the Data tab in block settings and configure the chart settings (learn more in Bar Chart overview). Lastly, we are going to map the fields and test result, which you can see below.

Note that we also select a Default View for the data table to preserve the sorting we have on Airtable.
Mapping the fields and testing the result
Mapping the fields and testing the result
Did this answer your question?

Last updated on December 6, 2022