Adds pie charts for each document