This function simply creates an object of class crosstalk::SharedData. The reason it exists is to make it easier to teach others how to leverage its functionality in plotly. It also makes it more discoverable if one is already aware of highlight.
highlight_key(x, ...)
An object of class crosstalk::SharedData
a plotly visualization or a data.frame
.
arguments passed to crosstalk::SharedData$new()
Carson Sievert
highlight