In this thread the Admin explains how to use the "Display Screen" feature.
In any language, you can do character graphics.
I have written a silly 2D raster renderer in Java and C++, where you can render lines and polygons drawn on the character screen. Here is the C++ version.
Otherwise, for any proper graphics, you'd need things to run on your local computer, not on a server (as it happens with OnlineGDB). Look into
- PyGame
- Unity
- Unreal Engine
As you go down the list, the difficulty to use increases, but so do the features offered by the engines.