Update d3

Tests modified and hackhack removed in accordance
can you write a helper method for dealing with path strings? this is super messy