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