Yes, it is possible to create a 3D graph like you ask, using the code previously posted for 3D scatter…