changed graph type and added temperature