Skip to main content

Do we exercise enough?

All right folks, here we go on post number ONE. I have a few thoughts, and a few fun things to share on this one.

This week, I had some time to exercise my brain and dive into Tableau Desktop and Tableau Prep. I present to you, an analysis of data from the CDC on exercise habits of Americans compared to recommendations. The data is pretty disappointing and from personal experience, I certainly know why! Read below for my thoughts on choosing this data set and a few tips on how I made the viz.

Why did I choose this data?

Just over a month ago, I embarked on a personal fitness journey. It was my goal to exercise at least 30 minutes every day for the 30 days leading up to my 30th birthday. This was a spur of the moment activity because I realized how little effort I had been putting into my personal health and fitness. I was only a few days from meeting my goal when I came across this report, recently published by the CDC. It spoke to me and I knew it would be a great exercise to dive into both Tableau Prep and Desktop!

What did I learn in Tableau?

Tableau Prep was a huge help.

This dataset was the first time I have really used Tableau Prep on a dataset outside of training or sample sets we've been using internally. I always loved jumping into something completely fresh, because it helps me to discover things along the way that I might not have otherwise found.

This dataset was not awful, but it did need some re-shaping before it would be ready to go. Tableau Prep does not (yet?) have a PDF connector, so I did need to copy the tables from the CDC Report into Excel, but once I did that, the rest of the shaping was completed in Prep.

First, I needed to pivot the data. The original data was presented as a cross-tab. This would have made it more challenging to interact with the measures in Desktop. Adding the Pivot was a breeze, and my data was already much more accessible.



I then needed to split the percentages from the error details which were all contained in the same cell in the report from CDC. I focused on just the percentages in my analysis. I also created two new grouped fields from the Working Type and Gender field so that I could more easily slice my views by these dimensions.




A few previews and additional tweaks later, I was ready to run my flow and begin designing in Tableau Desktop.

Distributed maps are hard to work with. (AKA - Alaska and Hawaii mess everything up)

I knew I wanted to condense the maps from the report into a small-multiples chart, to allow users to view all the snapshots together. When I built my grid, however, the zoom required to display states outside of the Continental US made it difficult to actually see the data. I decided to resolve by creating a filter from a group. This allows the user to choose how much of the mapping data they want to see.



As we know, maps are cool, but color shading is not as easy to compare as position - so enter the box and whisker plot. I used a highlight action to tie the views together, but its not as clear as I would like. I played around with some alternative ways to bring out the color, but couldn't get the views to work well together. At Tableau Conference Europe last week, the Tableau developers presented a new dashboard action they are working on. Its called a Set Action (or something like that...), and I believe it would be useful in this case to help me provide a bolder color to the states I want to focus on in the bottom view. I'm definitely going to keep my eye out for this when it comes to the Beta in the future.

That's all for now - let me know your thoughts in the comments. Happy vizzing!


Comments

  1. Yes, 'set action' very keen to find out about that too!
    Enjoyed reading this Catelyn.
    And keep up the exercise, for the nation's avg sake especially ;) :D

    ReplyDelete

Post a Comment

Popular posts from this blog

Makeover Monday - 2019 April 22 - Stephen Curry Popcorn

Woo! Finally had a spare moment to jump into Makeover Monday and back on the blog. Was a fun dataset to get into. I just HAD to eat a bag of popcorn when I was adding my finishing touches, you know, for inspiration :-) Details Original Article:  New York Times Makeover Monday Dataset: Data.World My Dashboard A few notes I liked the original heatmap for the individual ranks, but felt that a bar chart could be more useful in getting the total comparisons. I wanted to allow the user to sort by their top metric using the parameter, and created a calculated field to ensure the top overall ranked areas remained at the top of the list when there were ties (which there were many). I'm sure there are several ways to do this, but I chose to create a special field which added the total score. I don't love that the metric labels are vertically positioned, I know its more difficult to read. But I really wanted the heatmap to be very thin, so I went with it. *meh*...

Tableau Conference 2018 | Recap

Wow! What a week! I can't believe that Tableau Conference 2018 has already come and gone. New Orleans was such an amazing city and I loved every minute of learning, celebrating and eating all the Cajun food I could find with my fellow Data Rockstars. Read my recap first and/or take a look at some specially published vizzes, included in my conference presentation below Conference Recap Checking out the classroom! "I'm going to be on this stage for 8 hours" The festivities began for me on Sunday, when after a quick flight from DC, filled with Tabloids and other conference attendees, I spent a few minutes getting oriented to the conference center, visiting the training rooms and meeting up with my fellow colleagues from all over the world. After all was settled, a few of us fared the mile walk from the convention center to Jackson Square (the heart of the French Quarter) and ate a delicious creole fare at Muriel's. Bright and early Monday morning...

Do I exercise enough?

OK, I promise that my whole blog is not going to be about exercise, it just happens to be what is top of mind in my personal life right now - and it's always fun to marry personal interests with work! In this post, I explore: Setting and seeing goals Connecting a Google Form to a Google Sheet for a "live" connection on Tableau Public Building KPI boxes for Goals and context Calculating time-relevant metrics Setting and Seeing Goals As a trainer for Tableau, I am surrounded by goals. Not only my personal metrics and career goals which are well tracked and visualized at work, but of course the goals my clients are looking to see and achieve in their data. I love me a good 'ol reference line or bullet graph. I am sure you will see many examples on this blog in the future. But this time around, I needed things to be even more simple. Here are the questions and requirements I established for this dashboard. Dashboard Goa...