diff --git a/examples/marker/marker.html b/examples/marker/marker.html index 599b8425..58024ee4 100644 --- a/examples/marker/marker.html +++ b/examples/marker/marker.html @@ -86,21 +86,21 @@ links.forEach(function(link) { link.target = nodes[link.target] || (nodes[link.target] = {name: link.target}); }); -var w = 960, - h = 500; +var width = 960, + height = 500; var force = d3.layout.force() .nodes(d3.values(nodes)) .links(links) - .size([w, h]) + .size([width, height]) .linkDistance(60) .charge(-300) .on("tick", tick) .start(); var svg = d3.select("body").append("svg") - .attr("width", w) - .attr("height", h); + .attr("width", width) + .attr("height", height); // Per-type markers, as they don't inherit styles. svg.append("defs").selectAll("marker")