plot with svg:line, forked from d3.scatter.