Have a look at the free Graphics classes at
www.phpclass.org.
One that looks particularly attractive is EQ Smooth Pie Graph, link
http://www.phpclasses.org/browse/package/2498.html
This class can be used to generate pie charts from a set of input values.
The input values consist of bidimensional array that define parameters for each pie in the chart. The pie parameters are the pie color, a label and the pie value.
The class generates an image that is stored in a given file. The image size, background colors, legend and shadow parameters are configurable.
The image is generated in true color and in the PNG format so the pie charts appears with smooth edges.
If not useable, there are a lot more of these classes for you.
Ronald :cool: