d3 line not drawing

d3.js, javascript

Solution

Perhaps you should include a `stroke-width` style.

Problem

No matter what I do I can't get a line to show up! Even trying this doesn't show anything on my graph! ``` var svg, myline; svg = d3.select(element).append("svg").attr("width", 400).attr("height", 400); myline = d3.svg.line(); svg.append("svg:path").attr("d", myline([[0, 0], [100, 100]])); ``` I am using d3 from the server: ``` <script src="http://d3js.org/d3.v3.min.js"></script> ```

Original source