Quick Start
Install Upset.js#
UpSet.js comes with an React based version @upsetjs/react and a pure Vanilla JavaScript version @upsetjs/bundle.
In addition, there is a Vue.js wrapper at @upsetjs/vue. All of them have the same feature set and interface.
The bundle version has no framework dependencies and can be used in general cases. In the followign the React version is shown, later also the bundled version.
or
Defining your elements#
Extract the sets#
Result#
Live Editor
Result
Interactivity#
By specifying onHover and selection UpSet.js is fully interactive. As an alternative there is also the onClick property.
Live Editor
Result
Queries#
Similar to the original UpSetR, UpSet.js allows to specify queries by a set of elements which are then highlighted in the plot. The first query is shown in full detail while others are shown using small indicators.
Live Editor
Result
Bundle version#
or