Locked lesson.
About this lesson
In this lesson, we'll add animations to our Visualizations.
Exercise files
Download this lesson’s related exercise files.
26 - Using Animations in Visualizations.docx60.6 KB 26 - Using Animations in Visualizations SOLUTION.docx
57.8 KB
Quick reference
Using Animations in Visualizations
In this lesson, we'll add animations to our Visualizations.
When to use
Use this whenever you want to add some animation to your Visualization.
Instructions
To use animations, you need to enable Animations to your worksheet.
From the top menu, click "Format" and then "Animations". Then select "On" from the sidebar that pops up.
Hints & tips
- To use animations, you must enable them first.
- Enable them my clicking "Format" from the top menu, then "Animations" and then click "On" from the sidebar that appears.
- 00:04 Okay, in this video I want to talk about animations, and
- 00:07 adding animations to visualizations.
- 00:09 So really quickly, let's create a quick visualization, and
- 00:13 I'm going to go breed, let's grab our count, and let's also grab the validate,
- 00:19 so that we can look at this over time, and I'm going to break this down by month.
- 00:25 So let's get rid of these.
- 00:28 And now, let's grab this and create a little filter, and
- 00:31 I just want all of the dogs, so I'm just going to leave all of them.
- 00:36 But then, the reason why I'm creating a filter, is so
- 00:39 that I can show the filter over here.
- 00:41 And now we have got a list of all of them.
- 00:43 And let's change this to bullets instead of checks.
- 00:48 So we could just check one at a time.
- 00:50 Now, I could cycle through here, and look at each one of these.
- 00:53 So, this would be great for a presentation or something, but
- 00:56 you'd notice as I click on these, just boom changes to the next one.
- 01:01 It's kind of abrupt, right?
- 01:02 It's not that cool.
- 01:04 We can add an animation to that,
- 01:06 where it will just sort of meld in animatedly, I guess, using animations.
- 01:11 So to do that, we come up here to format and animations.
- 01:15 Now, animations is set to off by default in tableau, which is kind of weird.
- 01:18 So, we can turn it on right here, and this will do it for everything in our workbook,
- 01:22 and we've only got a couple of worksheets in our workbook, so
- 01:25 this really doesn't matter.
- 01:27 But if you only want this turned on for a specific worksheet, you can come down here
- 01:31 to this bottom section, and you can just select the selected worksheet.
- 01:35 We're in dog breeds, if we went to dog colors, you can see now it's selected as
- 01:38 dog colors, but we want to just enable animations for
- 01:41 the entire workbook, because we don't really care.
- 01:43 So we'll just click on and then boom now it's on, now you can set the duration
- 01:48 point three seconds, point five seconds, one second, two second or custom.
- 01:52 You can change the style sequential or simultaneous, and
- 01:55 we'll look at all of those.
- 01:57 So what is this done now?
- 01:58 Well, we can come up here and click around, and
- 02:02 you can see boom, it sort of makes a little animation.
- 02:06 It's sort of glides into the next one, instead of just boom showing up.
- 02:12 And again, we can play around with this.
- 02:13 We can do point five seconds, so see it does a little slower,
- 02:17 as I'm clicking through here, right?
- 02:20 We can do it really long, one second.
- 02:23 So you can click this and then it kind of does its thing.
- 02:27 Right? In depending on your data and
- 02:29 the type of charts that you have,
- 02:31 this may be more interesting to see this happen faster or slower.
- 02:35 It really starting to depend on whatever you're trying to show.
- 02:40 So, okay, that's really slow.
- 02:43 All right.
- 02:45 And let's see we can do sequential, Which is, well, too slow.
- 02:53 Let's back to spec down two point three seconds.
- 02:57 You can see now, it goes completely away, and
- 03:00 then once it's completely away, then the next one comes, right?
- 03:05 So that's sequential simultaneous does it sort of both at the same time,
- 03:10 they sort of morph into each other, which is I think neater.
- 03:14 But whatever fits your particular set of data and charts and things, that's fine.
- 03:20 We're using a line graph here, we can do this for
- 03:23 just about anything if we want to, for instance, let's bring our breed up here.
- 03:28 Let's move these around, that look better up there,
- 03:33 let's do it like this, again, you can see that's kind of cool, right?
- 03:41 If we change this to two seconds, we can really get the effect.
- 03:46 Right?
- 03:47 And a lot of fun.
- 03:48 We could change it back to sequential.
- 03:50 This one will completely disappear when it's gone,
- 03:53 then the new one will slowly come in, there we go.
- 03:57 Got it set to two seconds.
- 03:58 Let's back this down to point five seconds.
- 04:01 That goes, boom, comes back.
- 04:04 Let it goes, but it comes back.
- 04:07 So, like I said, I like the simultaneous better.
- 04:09 I think it's sort of, but whatever you like,
- 04:12 that's how you add animations to your visualizations.
- 04:16 Just remember to come up here to format, click on animations,
- 04:19 be sure to turn it on, because by default, it's off.
- 04:22 And once you've made your change, you can close this out and
- 04:25 it will still continue to work.
- 04:27 And that's pretty cool.
- 04:31 So, that's all for this video.
- 04:32 In the next video, we'll look at duplicating worksheets.
Lesson notes are only available for subscribers.