Skip to content

UPSET PLOT

An Upset plot is an alternative to the Venn diagram used to deal with more than 3 sets. The total size of each set is represented on the left bar plot. Every possible intersection is represented by the bottom plot, and their occurrence is shown on the top bar plot.

image-20210712150915783

UpSet plots the intersections of a set as a matrix. Each column corresponds to a set, and each row corresponds to one segment in a Venn diagram, as indicated in the figure below.

image-20210712152032657

Cells are either empty (grey), indicating that this set is not part of that intersection, or filled (black), showing that the set is participating in the intersection:

  • The first row in the figure is completely empty - it corresponds to all the elements that are in none of the sets
  • The second row corresponds to the elements that are only in the set A, (not in B or C).
  • The fifth row corresponds to the elements that are in set A and B.
  • The last row corresponds to the elements that are in all three sets.

This Upset plot...

image-20210712160034529

...is equivalent to this Venn plot.

image-20210708165829940

PLOT DETAIL

The plot is run twice,...

image-20210712152417245

...once for each period.

image-20210712152501492

SAVING THE PLOT

To save the plot as a PNG file, right-click on the plot, then select "save image as".

image-20210712152632419

OTHER OPTIONS

Open the expander under the 📊 Plot type drop down menu by clicking on the ➕ sign.

Additional options are available for selection.

image-20210712153026913

You can choose the dimension you want to plot as sets of the plot as well as the dimension over which to calculate communality. In this example "Material" is the dimension plotted as sets, while "Country" (the materials sold in each country) is the dimension used to calculate communality.

You can choose to plot a Upset diagram with up to ten sets.

image-20210712153133258

In this example, if you decide to plot 4 sets, the app will automatically aggregate the other sets together.

image-20210712153439100

You can also exclude the other sets.

image-20210712153537687

If there are many intersection, the app might return an unreadable chart.

image-20210712153828015

You can filter out the intersections with less than a given number of elements. For instance the chart above, filtered with only the intersections having at least 6 elements, becomes this...

image-20210712154041530

...and filtered with only the intersections having at least 10 elements becomes this.

image-20210712154216537

if you filter too much..

image-20210712154300363

you will get an error.

image-20210712154344032