This is a demo of
phPie()
with random data, and the option to switch between the two types of legend display:
You need a browser that supports IFRAMEs to see this demo
Legend on slices
Legend on side
No Legend