scatter plot clickable/calling new function