add delete functionality to visualization types