For SGPLOT graph, sse NOBORDER on the procedure statement to remove the border around the data. Use NOBORDER on the…