Modifying dot charts by grouping variables