Black Lives Matter. Please consider donating to Black Girls Code today.
https://www.blackgirlscode.com

Capture the text of a data point with a box selection

Hello,

I have read through a couple topics but they are all from a few years ago and was wondering if anyone has figured the problem out.

My flow is simple: a user selects certain variables and then a scatter plot is generated. My next step is for the user to use the ‘box select’ tool to capture a cluster of data points and save the ‘text’ of the data points so that the user can change dependent variables for the select data points.

The concept seems simple, I just cannot figure out the plotly.js function that achieves the storing process.

Any help goes a long way!