Adding scatter plot graphs and modifying data str