building skeleton for scatter plot