PHP file to graph the Nest data