added two variations of  d3 objects
completed first time series graph in d3