What is the syntax to draw a line in D3 -
What is the syntax to draw a line in D3?
Correct answer:- svg.append("line").attr("x1", 0).attr("y1", 200).attr("x2", 100).attr("y2", 100);