There was an error while loading. Please reload this page.
1 parent ce75813 commit ed71513Copy full SHA for ed71513
1 file changed
examples/cartogram/cartogram.js
@@ -6,8 +6,9 @@ var data = [
6
.169, , .132, .167, .139, .184, .159, .14, .146, .157, , .139, .183, .16, .143
7
];
8
9
-var svg = d3.select("#chart")
10
- .append("svg:svg");
+var svg = d3.select("#chart").append("svg:svg")
+ .attr("width", 960)
11
+ .attr("height", 500);
12
13
d3.json("../data/us-states.json", function(json) {
14
var path = d3.geo.path();
0 commit comments