This uses the Adobe SVG plugin. Scaleable Vector Graphics, The Javascript methods in svg_3d_utilities_100.js contain routines to plot points and lines and projecting them in a 3d enviroment.
One can plot
var Point1 = new Point( x1, y1, z1, r1);
var Point2 = new Point( x2, y2, z2, r2);
var Line1 = new Line( Point1, Point2);