draw a pie from patient data