I have a form . ... which the user can enter in dates

ie..

Date: __________ thru _________

when the user hits submit.. it pulls back all records within that date specified..

How do i get it to display a certain field in those records pulls back into a pie chart.. ?


thanks