My current challenge involves utilizing JavaScript to achieve the following tasks:
- Create a scatter plot consisting of approximately 10,000 data points
- Enable users to draw a curved shape on top of the plot in order to select a specific region (The design of the shape can vary from an ellipse to a polygon, or even a bezier curve-defined path)
- Retrieve a list of points within the selected area and perform actions with them.
The primary obstacle lies in step 2. I have previously utilized jqplot for a similar task involving rectangular selection, but it is crucial for this project that users are able to select an elliptical region instead.
I would greatly appreciate any suggestions regarding which JavaScript library would be suitable for implementing this functionality.