var data= {"face_1":2,"face_2":2,"face_3":83,"face_4":0,"face_5":8,"face_6":0,"face_7":2,"face_8":2};var max_data= 83;parseData('mood',data,max_data);