changed from d3 to dygraph so graphs render more quickly