d3js circle out of screen code example
Example: d3js circle out of scrren
node.attr("transform", function (d) { return "translate(" + d.x + "," + d.y + ")"});
node.attr("transform", function (d) { return "translate(" + d.x + "," + d.y + ")"});