Data Selection API

# selectedDataPoints

Variable / Sample names of data points (in the data object) to initially select.
Default: []

# selectionColor

The color used for selected data points when selection mode is to be highlight.
Default: rgb(255,0,0)

# selectionMetadata

Matadata (or factor) to use to display selected data points instead of the variable name. This metadata has to be in the 'data.z' object. This property is only valid when the selectionMode is 'name' and the visualization is a Scatter plot.
Default: false
Options: false

# selectionMode

selectionMode option
Mode use to highlight selected data points in visualizations.
Default: highlight
Options: highlight, ghost, name, filter