Creating animated and interactive plots