If you mean generating graphics from code, sure!
If your running a console, you can generate image files with graphs. If your running in a browser or UI, just display the generated graph.