Trying to make d3 responsive.