The code provided uses a Series plot with SmoothConnect available in SAS 9.4 or SAS 9.3. The upcoming SAS 9.4M3…