Line 14: | Line 14: | ||
fill: #fff; | fill: #fff; | ||
stroke: steelblue; | stroke: steelblue; | ||
− | stroke-width: | + | stroke-width: 6.5px; |
− | + | ||
} | } | ||
.node text { | .node text { | ||
− | font: | + | font: 18px sans-serif; |
} | } | ||
Line 25: | Line 24: | ||
fill: none; | fill: none; | ||
stroke: #ccc; | stroke: #ccc; | ||
− | stroke-width: | + | stroke-width: 5.5px; |
} | } | ||
Line 47: | Line 46: | ||
var margin = {top: 20, right: 120, bottom: 20, left: 120}, | var margin = {top: 20, right: 120, bottom: 20, left: 120}, | ||
− | width = | + | width = 960 - margin.right - margin.left, |
height = 800 - margin.top - margin.bottom; | height = 800 - margin.top - margin.bottom; | ||
Line 107: | Line 106: | ||
nodeEnter.append("circle") | nodeEnter.append("circle") | ||
− | .attr("r", | + | .attr("r", 2e-6) |
.style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; }); | .style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; }); | ||
Revision as of 04:26, 15 October 2016