add filter query to scatterplot