The version of our modified d3 module was cribbed from d3 v2, I updated it to d3 v3, which has some improved math surrounding it.  Will update the comment.