Skip to content

[upset-basic] UpSet Plot for Multi-Set Intersection Analysis #5250

@MarkusNeusinger

Description

@MarkusNeusinger

Description

An UpSet plot visualizes intersections of multiple sets using a matrix-based layout that scales far better than Venn diagrams beyond 3 sets. A horizontal bar chart shows set sizes, a dot-matrix below indicates which sets participate in each intersection, and a vertical bar chart above shows the intersection size. This is the modern standard for set intersection analysis.

Applications

  • Comparing gene sets from multiple genomic experiments
  • Analyzing feature overlap across machine learning model versions
  • Visualizing user segments across multiple marketing criteria
  • Showing bug categories that overlap across software modules

Data

  • element (str) — item identifier
  • sets (list[str]) — which sets this element belongs to
  • Size: 4–15 sets, 100–10000 elements

Notes

  • Intersections sorted by size (descending) or by degree
  • Connected dots show which sets form each intersection
  • Horizontal bars on left show individual set sizes
  • Vertical bars on top show intersection cardinality
  • Superior to Venn for >3 sets (existing venn-basic limited to 2–3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedApproved for implementationspec-readySpecification merged to main

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions