fixed svg transformation bug
Merge pull request #109 from maxgillett/master

fixing svg (d3.js) bug