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.
a plotly visualization or a
arguments passed to
An object of class crosstalk::SharedData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.