receiveGraphData function

returns array of health info