make it an interactive chart

interactiveChart(upsetjs, value = TRUE, events_nonce = FALSE)

Arguments

upsetjs

an object of class upsetjs or upsetjs_proxy

value

whether to enable or disable or set the mode: hover, click, contextMenu

events_nonce

whether to enable send a unique once (event date) for each event to prevent deduplication

Value

the object given as first argument

Examples

upsetjs() %>%
  fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
  interactiveChart()