So, I have this 2D line/scatter plot. Now what I want to do is that, when I click on a blank space of the plot i.e. where no point lies, I should get the nearest point location. So, I click on a blank space , I get the location of the click and then I calculate the distance of each points, and find the nearest of them. Is it possible to do?