data graph now works