Make legend interactive
Fix data plotting so it actually is correct