August 18, 2014

Makeover Monday: SEC Football Coaches Get Paid!

College football season is nearly upon us and for those that live in the Southeastern US, college football is king. It dominates EVERYTHING - from sports talk to newspapers to online forums to Facebook posts to coaching salaries. College football = Life to so many people. If you've never been to an SEC football game, add it to your bucket list; it's an experience unlike any other.

Saturday Down South is a website dedicated to all things SEC football. This past Thursday, they published this list of the salaries for each coach in the SEC (except for Vanderbilt who does not publish their coach's salary).

This list is simple enough, yet when I saw it, I felt like there was more of a story in there. You can clearly see, just from the table, that Nick Saban is a huge outlier. He's a winner, and he gets paid to win. Keep in mind that these are only their base salaries too. Bonuses, appearance fees, etc. are not included.

I decided to use Tableau's story points for the first time to answer a couple of key questions:
  1. How much of an outlier is Saban compared to his peers in the SEC, to other coaches in other sports and to other college football coaches?
  2. How widespread is this level of pay for college football coaches and how does the SEC stack up?
  3. Is Saban worth the money?
I also need to give a quick thank you to Emily Kund and Matt Francis for reviewing this story for me.

Some things I've learned while using Story Points for the first time:
  • If you want to tell a story, know the questions you want to answer ahead of time. This will help you plan the beginning, middle and end of the story.
  • As I answered questions, I was led to more questions, which led to finding more data, which led to a better story. Be prepared to iterate.
  • Story Points are pretty inflexible. You can't do any formatting of you viz once you're inside the Story Point. You have to go back to the original worksheet to change anything. I had expected this to work more like editing a viz on a dashboard.
  • I feel like I'm not quite using Story Points as they were intended. I feel like I'm missing their intent in this attempt because I could have done all of this same formatting with multiple dashboards and tabs. I need to learn more about the “idea” behind Story Points.
Download the data here and the Tableau workbook here.

August 12, 2014

Tableau Tip: Creating a Connected Scatterplot

Today I had the incredible honor of helping Alberto Cairo create his very first Tableau visualization. Alberto chose to create a connected scatterplot.  Shortly thereafter on Twitter, Lynn Cherny asked:
So this post is dedicated to her question.  Here you go Lynn:

Step 1: Create the scatterplot

Step 2: Change the Mark type to Line

Step 3: Add a continuous date dimension to the Path shelf

Step 4: Add Markers to the lines via the Color shelf

Step 5: On each axis, uncheck the "Include Zero" option

Step 6: Add a dimension to the Color shelf to create additional lines

That's all there is to it!  Super simple!  Download the sample workbook here.

July 21, 2014

Makeover Monday: Slicing Up the La Liga & Premier League Revenue Pies

Over the weekend, Reader Ben Jones sent me a message on Twitter pointing me to this post by @kmgfootball, which he thought would be great for a Makeover Monday example.

The point the writer is trying make is clear: Barcelona & Real Madrid combined get almost as much revenue as the rest of the clubs in La Liga, whereas in the Premier League, there's much more parity and revenue sharing. The problem is that the charts are basically unreadable.
  1. There are 20 slices in each pie.
  2. Each slices contains way too much content: team logo, team name and revenue, yet it lacks the percentage each team takes in, which is more meaningful than the revenue in this case.
  3. The image is blurry.
  4. The fonts are tiny.
I recreated the data and used Tableau to build a lollipop chart instead of a pie chart.

I chose a lollipop chart because I wanted to show the data in a bar chart view, but accentuate the end points. I then color-coded the dot on the end of the lollipop by the revenue and kept the range consisted across the leagues. In addition:
  1. I kept the scales for the bars the same on both charts so that you could see how the leagues compare to each other.
  2. I converted the Pounds to Euros (1 british pound sterling = 1.26 Euro) to make the data more comparable.
  3. I included the share of revenue as a label on the lollipop.
This view makes two points very obvious:
  1. There are only two teams that matter to TV networks in Spain.
  2. The Premier League is very, very rich. The team will the lowest revenue allocation is higher than the third highest team in La Liga.
How would you visualize this data differently? The lollipops are merely one approach. Download the Tableau workbook here and leave a comment with a link to your version.

June 30, 2014

Makeover Monday: How Americans Spend Their Online Time

Time spent online - we all do a LOT of it. Whether it be Facebook, Instagram, YouTube, ESPN, or any other site, the data shows that the average American spends a LOT of time online. Business Insider took a look at this recently with this circular chart:

The content of this slide is quite interesting, but their approach for visualizing it could be better.  I feel like they went after cute instead of simple. 

In his article "Our Irresistible Fascination with All Things Circular", Stephen Few talks about how hard it is to make comparisons with circles. Many designers use the diameter of circles to distinguish size. It's hard to tell precisely if Business Insider made this mistake, which in itself is a problem.  If I can't easily tell that the 19 for Online Games is just over half of Social Networks, then I'm having to do too much work.

In addition, they have plotted the circles on two rows. Comparing any two of these circles that are not directly adjacent to each other is too hard.

I would have created a simple bar chart instead.

I've made a two notable changes:
  1. I converted the circles to bars, making comparisons much easier.
  2. I added the % of total time spent online to the end of the bars to give additional context.
Do you agree that this is easier to read? If not, why not? How would you do visualize this data differently? Download the data here or the Tableau workbook here.

June 16, 2014

Makeover Monday: Where do World Cup players play professionally?

Unless you live under a rock, you know the World Cup started last week. In this spirit, Chart of the Day published this chart showing where the players play professionally.
This chart seems simple enough, yet they make it too hard on the reader.
  • A horizontal bar chart would be easier to read
  • The sorting is backwards
  • They're not doing enough to show the geographic distribution
In about 10 minutes this morning, I built this viz with Tableau for Mac to address these concerns.  Go USA! I believe that we can win!

June 9, 2014

Makeover Monday: Label bar charts for easier comprehension

I'm in the market for Chromebooks for my twins and was reading quite an excellent overview by The Wirecutter. In the middle of the article is this chart comparing the performance of various Chromebooks:

This chart seems innocent enough, yet I found myself having to constantly reference the legend because they didn't bother including the labels directly on the chart. A more understandable alternative might look like this:

In this chart I have:
  1. Added labels for the bars
  2. Removed the legend and the different colors for each Chromebook
  3. Made the bar horizontal bars so that the labels are easier to read. I also find it easier to compare the length of the bars on horizontal bar charts, but that's a personal preference.
  4. Added a metric to show how much slower the other Chromebooks are compared to Wirecutter's recommendation (Dell Chromebook) and colored the bars by the % difference. This helps provide more context to the speed comparisons and I don't have to do the math in my head.

June 5, 2014

Hey QlikView - If you were the best tool, I would have chosen you!

Earlier this week several people sent me a slide from a sales presentation from QlikView. In the slide, QlikView used a quote from me, my image and my name without my permission. (NOTE: Please see update at the bottom of this post.) The quote was in reference to a poll I ran (which I've since taken down because I wanted to stop the voting) in which I was critical of Tableau's performance. Apparently QlikView is using this quote as a competitive weapon against Tableau. QlikView has sent this to multiple customers in an effort to impact sales.

I can think of only one reason why QlikView would do this: Tableau must be killing them!

QlikView is obviously grasping for straws. While I'm sure Tableau is having to do some unplanned firefighting, they might see this as a compliment. Only competitors that are getting their asses kicked would resort to these tactics. All you have to do is look at the latest Gartner Magic Quadrant to see that Tableau is the leading platform.
I like to tell Tableau, and I know many other people tell them this too, that we chose them because they are the best end-to-end solution on the market. But they need to be aware of complacence. If another tool comes around that better meets my needs, you can be sure that I will switch. In the end, I want a tool that makes me look good.

Performance remains my #1 concern with Tableau. Tableau is not an exclusively in-memory solution like QlikView, so Qlik comparing their performance to Tableau's is not an apples-to-apples comparison. I like to tell the Tableau execs that if they can make Tableau fast for data at Facebook's scale, imagine what they can do for the more typical customer. I am extremely confident that Tableau is listening and are actively working to address my performance concerns.

Here are some random thoughts about why I love Tableau:
  • One of the reasons I respect Tableau, its management and its employees so much is that they would never use anything I say without asking my permission. Tableau has quoted me quite often: on their blog posts, on their website, as part of ads, in sales presentations. But Tableau has asked permission EVERY SINGLE TIME.
  • I have never seen an example where Tableau has acted in the manner in which QlikView has.
  • I chose Tableau because it's the best overall data visualization tool on the market.QlikView, I didn't choose you because you simply can't compete. If you want to win, make a better tool.
  • Tableau listens unlike any other vendor I've ever known. They care about their customers. Customers drive feature development. Two great examples of Tableau listening to their customers are: (1) the upcoming Mac client and (2) the Apply button on multi-select drop-downs. I personally worked with Tableau to help create the Apply button, which they initially called the “Andy” button internally. They took the time to personally reach out to me and gather my feedback and showed me prototypes along the way.
  • Tableau has a community of users unlike any other product I've used. If you've ever been to one of their conferences, you know what I mean. If you haven't been to one, you must go. Tableau's forums are completely user driven. If you ever have a question, ask on the forum and you're all but guaranteed to get a high-quality response...for free! There are people like Joe Mako and Jonathan Drummey that hold working sessions with users to help them learn. I write this blog because it's a way that I can share with the community. The number of wonderful Tableau bloggers is astounding. Do you ever hear of other vendors having their users promote their product like Tableau's users do? I think not!
  • They have a mission and vision that matches my own.
  • I've spoken at four Tableau Customer Conferences with two more planned this year. I've spoken at their annual company meeting. Why would I speak on their behalf if I wasn't their biggest advocate?
  • Without Tableau, there's no way I would be working at Facebook. I have some incredible success stories from my days at Coke (like using Tableau with buyers and making $30M in 10 minutes). And the success stories have continued here at Facebook.
I'm disappointed and saddened by QlikView's behavior. If anyone knows who I can contact to get them to stop using my name, my image and the quote, I would greatly appreciate it. They didn't ask permission and I don't like how they're using me to market their product.

If there are any companies or customers that are seeing this slide from QlikView and it's making you question which tool you should use, then consider why they would be resorting to such tactics. Only companies that are playing catchup behave like this. Think about why they would do this. Question their sales staff.

I've always been more than happy to talk about the pros and cons of BI tools as I know them. If you are a prospective customer comparing QlikView and Tableau and have any questions, feel free to email me. I'd be more than happy to answer any questions you have.

6/6/2014 - I need to recognize Maria Scurry from QlikTech for being so responsive to my concerns. Maria left a comment shortly after this blog post went live. In addition, she has been very responsive to my emails and she has confirmed that she found the source of the slide in question and it will not be used publicly or internally from this point on.

June 2, 2014

Tableau Tip: Use the "refresh" URL parameter to avoid hitting the Server cache

I've been experimenting with Tableau for Mac quite a bit. This past week I've been focusing a lot on live connections to MySQL to replace some existing internal dashboards with more insightful ones. The great thing about our MySQL environment is that it's super fast and I can turn around a dashboard built on a template in less than an hour. While this has been awesome for proving the value of Tableau for Mac, I learned a lesson over the weekend about the Tableau Server cache.

We're at a luxury here at Facebook that we can have a separate environment for the 8.2 beta. In production, we all share a single server, so it's unlikely that you hit the cache. However, on the beta server, there are only a handful of us using the Server, which led to email over the weekend from my users that their dashboards with live connections are not showing the latest data. Why? Tableau is using the cache (as it should).

To solve this, all I have to do is force the dashboard to refresh every time the user hits the server.  I accomplish this by adding the ":refresh" parameter to the URL. My URL now looks like:


The refresh option on the end is what tells Tableau Server to re-render the view.  Of course, you don't have to have the embed and toolbar parameters in the URL, but I like the way my view looks on Tableau Server when I include those options. For a full list of embed parameter, go to this link.

Makeover Monday: The Face Pie - Taking an Analogy Too Far

Edward Tufte likes to say "the only worse design than a pie chart is several of them." Today's makeover takes this even one step farther. Someone at Pew Research decided that since the topic of their chart was "The Changing Face of America" that they should uses faces instead of pies.

Humans are poor at judging angles in a pie. I can't even imagine how bad we are at judging angles in obscure shapes. Also, the purpose of this graphic is to show change. It’s very difficult to understand trends in a series of face pies. I would present the data as a line chart like this:


Now it’s much, much easier to see the changing demographics of the United States. Keep it simple people!

May 19, 2014

Makeover Monday: India's BSE Sensex as an Area Chart

I'm not a huge fan of area charts, especially stacked area charts. Much like bar charts, the axis for an area chart needs to start at zero, otherwise you're not showing the total area, thus defeating the purpose of using an area chart in the first place.

As an example, here's a recent chart from Chart of the Day about India's stock market.

Notice how they've started the axis at 2,600. This distorts the slope of the graph and also the area of the graph is not complete.

Contrast this to Yahoo!'s chart, which is executed perfectly.


Yahoo! is showing the entire scale and nice proportions. Without noticing these subtle differences, you might interpret a very different story. Moral of the story: always start the axis for area charts at zero.