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