Integrated D3 trendline chart