changed graphing to D3JS