score:1

Accepted answer

I think i solved it. I added this to the redraw.

 svg.select(".x.axis").call(xAxis);
  svg.select(".y.axis").call(yAxis);

Looks like i had what i needed there, just wasnt updating it at all :L

Updated fiddle : http://jsfiddle.net/q0ubpmwj/4/


Related Query