3D Graphing (pie and bar chart)

Hi there:

Anyone here have idea to draw a 3D pie and bar chart with visual c++ (read data from file)?