working version of full featured NG scatterplot