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

Line 112: Line 112:
 
   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 ? -10 : 10; })
       .attr("dy", ".35em")
+
       .attr("dy", ".45em")
 
       .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:32, 15 October 2016

Works