Difference between revisions of "Team:Korea U Seoul/Attributions"

Line 111: Line 111:
  
 
   nodeEnter.append("text")
 
   nodeEnter.append("text")
       .attr("x", function(d) { return d.children || d._children ? -10 : 10; })
+
       .attr("x", function(d) { return d.children || d._children ? -15 : 15; })
       .attr("dy", ".45em")
+
       .attr("dy", ".35em")
 
       .attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; })
 
       .attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; })
 
       .text(function(d) { return d.name; })
 
       .text(function(d) { return d.name; })

Revision as of 04:33, 15 October 2016

Works