2D & 3D Graphs help required..

I want to start working on a 2-D & 3-D graphs lib. from where i should start? how to make all 3 axes ? can i get any source code, if anybody already worked on the same type of things? I have knowledge of OpenGL & VC++
Thanx :Pors

That’s what www.google.com is for. USE IT.