Trying to make svg and d3 more responsive.