added ML group-level metrics

need to go back and add ability to swap the x and y axes