The diagram for the upward acceleration and downward acceleration, as well as the initial velocity and final velocity of the ball is shown in the image attached.
How to draw the diagram of the total trip of the ball?
The diagram for the total trip of the ball will consist of the following;
the vertical velocity of the ball, which continues to change direction
the acceleration due to gravity, always pointing downwards
The total distance traveled by the ball vertically is known as the maximum height, while the total distance traveled by the ball horizontally is known as the range of the ball's motion.
Thus, the diagram for the upward acceleration and downward acceleration which is 9.8 m/s², as well as the initial velocity and final velocity of the ball is shown in the image attached.