i have to to records from one query, and i wish to create pie chart so i'll see the percentage of each record.

how can i do it? if someone will please attach me an example i'll be very very grateful!