From 6fe0839c12b1a8edc615fff506b4a51edbd1e7ff Mon Sep 17 00:00:00 2001 From: Zhi Han Date: Mon, 19 Jan 2015 09:13:18 -0500 Subject: [PATCH] Update hive.js The arcOffset is only necessary for the example in the blog post as it rotate the axis in the main function. In general, if a d3 user does not do the rotation she should not set the offset. --- hive/hive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hive/hive.js b/hive/hive.js index 06e53ae..0dabdfe 100644 --- a/hive/hive.js +++ b/hive/hive.js @@ -6,7 +6,7 @@ d3.hive.link = function() { angle = function(d) { return d.angle; }, startRadius = function(d) { return d.radius; }, endRadius = startRadius, - arcOffset = -Math.PI / 2; + arcOffset = 0; function link(d, i) { var s = node(source, this, d, i),