dro*_*502 6

尝试添加:

 .attr("style", function(d) { return ("stroke-width:" + d.weight + "px;");})
Run Code Online (Sandbox Code Playgroud)