Non-game Programing, getting started

I need some kind of API for programing applications that generate 3d representations of data. What im looking for is something that alows me to draw lines in a 3d space and then set a point of view and then have the API draw the image for me. Can OpenGl do this, if not is there anything that can?
Thank you for your time,

Yes, OpenGL is good for that. Many applications for data visualization use OpenGL. It is easy to learn and easy to get your data on the screen in a short time, though you will probably want to use a toolkit like GLUT or SDL for windowing and events for greater ease, OpenGL only deals with graphics.