Group values and display them in different colors