Added rudimentary utility function groupOthers for pie charts with too many slices.