This page demonstrates using a form to drive the dynamic generation of a chart (courtesy of jCharts). Enter names and values in the form and see them in the pie chart at the bottom.

Category Value