I am trying to colour my data points and corresponding centroids by their factor level to match the legend. I think all of the elements are within the script but don\'t unde