working on d3 graph for temperature