Line 47: | Line 47: | ||
.projection(function(d) { return [d.y, d.x]; }); | .projection(function(d) { return [d.y, d.x]; }); | ||
− | var svg = d3.select(" | + | var svg = d3.select("#djxmfl").append("svg:svg") |
.attr("width", width + margin.right + margin.left) | .attr("width", width + margin.right + margin.left) | ||
.attr("height", height + margin.top + margin.bottom) | .attr("height", height + margin.top + margin.bottom) |
Revision as of 13:55, 14 October 2016