make d3 plot fit better