implemented totally awesome clustering pie charts