walkthrough and refactor to temperatureLineGraph