d3 trend line visualisation is now responsive