Illustrative survey

UpSet example: survey membership

Inspect an empty group and a respondent outside all groups. The reading summary separates total elements, union size and omitted patterns.

Open this example in the editorStart from scratch

Exact intersection size01Set size0123Group AGroup BGroup CGroup DGroup EGroup C & Group D only: 1 elements1Group A & Group C only: 1 elements1Group A & Group B only: 1 elements1Group B only: 1 elements1Group A only: 1 elements1
Six illustrative respondents include five in the union, one outside all sets and an empty fifth set. Illustrative data.

About this example

This illustrative table records six respondents across five groups. The fifth group has no members and stays visible as an empty set. One respondent belongs to no group and contributes an all-zero membership pattern.

The default figure shows the five non-empty exact patterns. Enable Show none of these sets to include the sixth respondent as a separate None column. The union stays five and the full group sizes stay 3, 2, 2, 1 and 0 regardless of that display choice.

The data

IDGroup AGroup BGroup CGroup DGroup E
item-110000
item-201000
item-311000
item-410100
item-500110
item-600000

One unique element per row. Exact intersection counts use all membership flags; filters change only the visible columns. Open the example, replace the data with your own, and export the figure as SVG, PDF, PNG or TIFF.

More examples