How to dynamically generate 3D pie charts?

How should I make it? Please share your thoughts and API?