improved function for weight?
Merge branch 'gh-pages' of github.com:dpwoert/d3-conversion