How do you create smooth camera movements?

When I animate the cameras translation and, for an example, I set a keyframe at frame 1 with an X-offset of -1 and a Z-offset of 0 and set a keyframe on frame 60 with an X-offset of 1 and a Z-offset of 0, and at frame 30 i set a keyframe with a Z-offset of -1.
The example given above would create a triangle shape camera movement with a sharp turn at frame 30, how would I go about turning that triangle shape movement into a much smoother half-circle shape?
Let me know if I need to provide a code with an example of what I'm talking about for better reference.
The example given above would create a triangle shape camera movement with a sharp turn at frame 30, how would I go about turning that triangle shape movement into a much smoother half-circle shape?
Let me know if I need to provide a code with an example of what I'm talking about for better reference.