added legend and donut percentage displays