Hi,
It does not appear that there is an option in Scatter Plot 3D to color the connected lines based on a variable or even a constant.
If you search the Scripting Index for "Scatter Plot 3D", you will see all the modifiers for this object. None include Line Color.
Sorry I could not help further.
Best,
TS
Thierry R. Sornasse