A function that creates an UpSet plot in d3. An UpSet plot is a substitute for a Venn diagrams - you can easily view relationships between multiple sets.
Takes in:
- sets: [ ] -> array of set names
- names: [ [ ], [ ], ...] -> an array of arrays (in order by set names) of objects in each set
It computes each relationship automatically, and sorts decreasing.
Demo at https://chuntul.github.io/#4