Wednesday, 2 April 2014

Make a line


.append("line")
.attr("x1", 100)
.attr("y1", 10)
.attr("x2", 100)
.attr("y2", 300)
.attr("stroke-width", 10)
.attr("stroke", "black");

Makes a nice black line


No comments:

Post a Comment