January 16, 2017
On January 20th, we’ll have a new President of the United States. With Inauguration Day just a few days away, it seemed appropriate to look at the tweet of President-Elect Trump for Makeover Monday week 3. BuzzFeed News analyzed all the accounts Donald Trump retweeted during his presidential campaign and created this visualisation to accompany it (Note: The visualisation was trimmed for this blog) -
What works well?
- The bubbles are ordered from largest to smallest from left to right in a Z-pattern making it pretty simple who he tweets the most.
- Colouring inactive accounts so they are easier to identify
What could be improved?
- Bubble charts are notoriously hard to use for comparison; a simple bar chart would be so much easier to read.
- The viz lacks insight or a story.
- The article has some in-depth writing; would have been great to include that in the visualisation.
I must admit that I struggled a bit this week. I was trying too many charts and had trouble focusing my story. On top of that, I messed up the TDE that I created for everyone. Note that when you use the DATEPARSE function hh means hour in am/pm (1~12) whilst HH means hour in day (0~23). I had used hh initially which made it look like Trump takes lunch off from Twitter.
I really liked Eva’s idea of using the Montserrat font that’s on Trump’s website, so I’ve knicked that idea. I also wanted to stick to Twitter’s official color palette and try as much as possible to quantify and simplify the amount of tweets that Trump produces. With these in mind, here’s my Makeover Monday week 3 visualisation:
January 12, 2017
- The dashboard title should change to say 'All Departments' when you select 'All' in the filter
- The department logo should change when you select a department, but disappear when you select 'All'
- The line chart title should update when you change the filter
- All the charts and tooltips should look the same as Emma's
And here’s my final version:
Here are some things that helped me along the way. First, when I need to add a dot onto the end of a line, I usually create a table calc or LOD calc and create a dual axis chart, but that’s totally unnecessary. I never knew that when you turn on mark labels you then have the option to show only the Most Recent. The great thing about this option is it make the mark a dot. Perfect for this exercise!
To get the dashboard title to update dynamically, I created a sheet instead of using the dashboard title. This gives me more flexibility to use calculations. I created this LOD calc to first count the number of categories in the view and then return a string based on that result.
I then placed this new field on the Detail shelf and updated the title of the sheet.
For the department logos, I knew I wanted to only show a shape when “All” is NOT selected, so I created a new sheet and then created this LOD calc that simply checks whether the number of product categories is 1.
I then placed the field on the Filter shelf and chose to Exclude False (keeping True only works too). From there, I placed the Product Category field on the Shape shelf and assigned the shapes for each Department.
To get the month into the title of the line chart I created this LOD calc to return the latest month.
I placed this field on the Detail shelf and changed it to continuous Month and updated the title. The title is also supposed to show sales for the most recent month. I did this with a table calculation.
That’s about it. The rest was formatting and dashboard layout. Emma floated some things in her dashboard whereas I chose to tile everything. Both work just fine.
Overall, I learned quite a bit and that’s what Workout Wednesday is all about!
January 10, 2017
With Tableau 10 came the ability to create cross-database joins. In this video, I show you how to:
- Create a cross-database join
- Create a calculation across the data sources
- Use the calculation to sort the view
- Use the calculation as a boolean
January 9, 2017
The iPhone…what would I do without mine? We’ve become so dependent on our mobile phones and this is primarily due to the revolution that Steve Jobs launched back in 2007. This week for Makeover Monday, we look at this chart from DazeInfo:
What works well?
- Title captures your attention
- Nice highlighting of the declining bar in 2016
- Simple colors that work well
- Pretty simple, easy to understand viz
What could be improved?
- Beveled bars are unnecessary; just make them flat
- What does the * mean next to 2016?
- Is the axis needed if the bars are labeled?
- Inconsistent label formatting; make them all the same number of decimals
- Remove the gridlines
For my version, I wanted to focus on the story that was in the article itself. I was particularly struck by the percentage of revenue that the iPhone now accounts for in Apple’s overall revenue.
January 4, 2017
What is Workout Wednesday? It’s a set of weekly challenges from Emma Whyte and me designed to test your knowledge of Tableau and help you kick on in your development. We will alternate weekly challenges: I will take the odd weeks and post them on my blog; Emma post challenges on the even weeks on her blog.
The idea is to replicate the challenge that we pose as closely as possible. When you think you have it, leave a comment with a link to your visualisation and post a pic on Twitter for others to enjoy.
Ok, so for week 1, I challenge you to recreate the visualisation below that helps identify the year over year purchase frequencies of Superstore (get the data here). The workbook is downloadable, but don’t cheat. Give it a real go before you download it to see if you got it right.
Here are the requirements:
- Y-axis is the cumulative % of total orders
- X-axis is the day of the year
- One line for each year, with the latest year highlighted
- Include a reference line for the target, which should adjust based on what the user enters
- Single select filter for Product Sub-Category
- Multi-select filters for Year, Region and Customer Segment
- Include a dot on each line at the first day when the cumulative % of order crosses the target
- Make the tooltips match mine
- Title should update based on the target entered by the user
January 3, 2017
2017 is here and with it another 52 weeks of Makeover Monday. ICYMI, this year Eva Murray is joining me on the project. We’ll be rotating each week, which I’m looking forward to as it’ll help challenge me more.
For week 1, we’re reviewing this article from Women’s Agenda about the massive pay gap that exists in Australia’s 50 highest paying jobs. Interestingly, we’re not making over a chart this week; instead it’s two ordered lists.
What works well?
- An ordered list is great for showing ranking
- Splitting the lists between men and women makes it easy to see which jobs pay them most for each gender
What doesn’t work well?
- It’s basically impossible to compare men and women in the same jobs, which was the whole purpose of the article.
- Within a gender, you have to do the math in your head to compare jobs. A simple bar chart, would make it to compare at a glance.
- There’s no “story” to the data. What’s the call to action?
- The lists only show the top 50 for each gender distinctly, making it really hard to find an overlap in the lists.
- There’s no sense for the “overall” gender pay gap when limiting the list.
For my version, I started with a Google image search to get some inspiration. I pulled various parts and pieces from different infographics that resonated with me to put together this infographic. I had a few objectives:
- Use an impactful title
- Break the infographic into several parts by adding divider lines
- Start with a high-level summary of the gender gap for all jobs in the data set and just the top 50 jobs
- Quantify the pay gap for the reader to improve the context
- Show the wage gap in the top 50 jobs via a slope chart and highlight the jobs when women earn more than men (sadly only 2 jobs)
- Create a mobile version that allows for scrolling through the story
With these goals in mind, here’s my first Makeover Monday of 2017.
December 31, 2016
This has been a pretty epic year for me both for this blog and for “work”. This year, I made an effort to blog more, record videos of tips to help grow the Tableau Community and share as much as I possibly could. Some notable stats and facts I’ve been tracking:
- Three cohorts and 24 consultants passed through the Data School
- Wrote 175 blog posts on this site, 25 more than my previous best year (2015)
- Started the Tableau Tip Tuesday video series and published 45 videos to my YouTube channel
- Published 22 blog posts for the Data School, up from 9 in 2015
- Wrote 18 blog posts for Data Viz Done Right, down from 54 in 2015
- Presenting 86 Tips in 50 Minutes alongside Jeffrey Shaffer at the Tableau Conference
- Completed 52 weeks of the #MakeoverMonday project with Andy Cotgreave
- Honourable Mention - Best Data Viz Project (Makeover Monday) | Kantar Information is Beautiful Awards
I started this blog in August 2009 as a way for me to record what I learned. As I observe more and more readers, I'm inspired me to write more, to share more, to help more. Thank you for reading!
Here are the most popular VizWiz posts in 2016:
- 12 Books Every Great Data Analyst Should Read
- Tableau Tip Tuesday: How to Create Diverging Bar Charts
- Tableau Tip Tuesday: How to Display KPIs Next to Bars
- Fix It Friday: Ten Alternatives Methods for Presenting Alcohol Consumption in OECD Countries
- Tableau Tip Tuesday: How to Create Small Multiple Line Charts
- Tableau Tip Tuesday: 12 Use Cases for Parameters
- Tableau Tip Tuesday: Layout Tips for Long Form Dashboards
- Makeover Monday: Travel Agents Are a Relic of the Past and Hotels Could Be Next
- Tableau Tip Tuesday: How to Create Monthly Radar Charts
- Tableau Tip: How To Create a 100 Mark Unit Chart inside of a Tooltip
So what’s in store for 2017? Well, much of the same and a bit more.
- Makeover Monday will continue and I’ll be teaming up with Eva Murray in 2017.
- Given that you clearly like tips, I will continue Tableau Tip Tuesday, hopefully every week, but I know I won’t have time to do a video every week. I promise to create as many as I can.
- To help those that participated in Makeover Monday in 2016 take their development to the next level, I’ll be teaming up with Emma Whyte for Workout Wednesday. Basically, we’ll trade Data School Gym challenges with each other every Wednesday through the year. You can take the challenge yourself and try to rebuild our challenges each week.
- I want to post on Data Viz Done Right more often. Ideally, I’ll post every Thursday at a minimum.
Happy New Year to everyone in the Tableau and data visualisation communities! You’ve made 2016 an amazing year and I look forward to seeing what 2017 brings.
December 26, 2016
Well, this is it! 52 weeks of Makeover Monday under our belts. Thank you for an incredible year and for participating in this amazing project.
In case you missed it, Makeover Monday will continue in 2017. Eva Murray and I have big plans in store for everyone. If you ever have questions, comments or feedback, give us a tweet.
Ok, so onto week 52. The BBC published an article early in December about the cost of Christmas dinner in the UK with this blaring headline:
Christmas dinner costs 'rise 14%'
Inside the article were these basic charts:
Fortunately, Andy C was able to locate the data on BBC Github. Let’s review the charts.
What works well?
- A line chart is a good choice for showing change over time.
- The line chart uses about a 3x2 ratio which doesn’t distort the shape too much given the axis is zoomed in.
- The bar charts work fine for comparing the two years.
What doesn’t work well?
- The line chart has smoothed curves, which lead you to believe there were changes throughout the year, but the data is only at the yearly level. This could be misleading.
- What food are included? The data on Github doesn’t match the data in the chart? How are we to know what they consider to be the Christmas foods?
- There’s no logical sort to the bar chart. It’s neither sorted by 2015 nor 2016. I can’t make out how it’s sorted.
- The bar chart doesn’t include all foods they have data for, so why did they only show these foods? Are these the foods that comprise the line chart? We have no way of knowing.
- Were the Christmas themed colors in the bar chart intentional? If so, I get why they did it, but it won’t work for their colour-blind readers.
- The title of the bar chart indicates it’s about the price change, but they make the reader do the change maths in their head. Why not just show the change?
- Why are they comparing 2016 to 2015 and not a different year? That seems a bit shortsighted and sensationalist to me.
For my version, I thought it was important to:
- Indicate when the peak price occurred
- Show the entire time period to get a better sense for the rate of change
- Indicate whether the 2016 price has increased or decreased compared to 2006
- Sort the products by the 2016 price
- Show the rate of change and the latest price
- Optimise the view for mobile
Given these ideas above, here is my last Makeover Monday for 2016. I’m looking forward to continuing this project with Eva in 2017.
December 18, 2016
Two weeks to go in one of the best projects I’ve ever been a part of. In fact, Andy Cotgreave and I are hosting a Twitter chat on Monday at 4pm GMT. Get all of the details here and join us in discussing the impact this amazing project has had on all of us.
For week 51, we’re looking at the Washington DC Metro Scorecard. This is basically a KPI dashboard of quality and safety for the Metro. Let’s have a look at their scorecard:
What works well?
- Nearly laid out and organized
- Thumbs up and down give the status at a glance
- Despite the rings, it’s visually appealing and draws you in
What could be improved?
- While the rings make the comparison to goal easy, they wouldn’t work if something has to go past a full circle of the ring.
- Inconsistent colors
- No sense for performance over time
- Can’t see all of the metrics in a single view; scrolling is generally a problem with KPI dashboards
- You can’t tell how far each metric is from the target
They didn’t make all of the data available for us to use in the makeover. For example, there is no data available for the entire people and assets section. So what you’ll see this week from everyone will be nine of the metrics. For my makeover, I wanted to create small multiples of each metric over time. I liked their blue and red colors, so I used similar colors. I also wanted this to look more like a newspaper, so I went with the American Typewriter font. Lastly, if you look at this on a phone, you’ll see it a long, scrolling dashboard. I really like how this turned out.
December 16, 2016
This morning I was catching up on my backlog on feedly and read the two amazing blog post by Rody Zakovich and Alexander Mou about creating a Sigmoid curves. I have never created a chart like this before and I love the visual appearance so I thought I’d give it a go.
I went back to my Data School Gym challenge from a few months ago because I knew it was simply comparing one point in time to another like Alexander covers in his blog. In this case, I was looking at the change in human height by country from 1896 to 1996. Alex’s blog is so well written and easy to follow. All I had to do was essentially copy/paste his calculations and I was off.
I’m asked very often how to get better at Tableau. For me, there’s no better way than practicing. And when you think you’ve practiced enough, practice more. You will never ever know everything. Just keep learning, like I’ve done this morning. With that, here’s my first Sigmoid curve.
December 13, 2016
In this week’s tip, I show you how I built my Makeover Monday week 50 visualisation. I’m not exactly certain what you would call this chart type, so I’ll call it dot plot. The biggest different is that I use a Gantt bar that the dots then sit on top of. I learned quite a bit building this and I hope you will too.
December 12, 2016
What works well?
- Grouping the States into sets of 10
- Gradual color scaling with black being the most negative
- Calling out the smaller States separately
- Labelling is clear and prominent
- Good color choices
- Simple title
What could be improved?
- A filled map doesn’t add much value since there aren’t any apparently regional trend. Just because you have States, that doesn’t mean you MUST have a map.
- They have three separate maps, which makes it hard to compare them.
- Could have a more impactful title
- For me, it’s counterintuitive to have 1 as the worst and 51 as the best.
- It’s a very negative message. Wouldn’t something a bit more positive be better during the holiday season?
I found myself iterating A LOT this week. Starting with filled maps, then hex maps, then dot plots, then a series of dot plots. Here’s a GIF of my process:
For my view, I’ve included all of the metrics in a single view, allowed the user to sort by the value they are most interested in, and also reversed the axis, so the best is on the left. I liked their color palette, so I’ve re-used that. My titles also update dynamically based on the metric selected since the purpose of the view changes.
December 6, 2016
In this week’s Tableau Tip Tuesday, I show you how to create barcode charts. I’ve used these charts several times recently:
I also have another video with five use cases for strip plots. I use the term strip plot interchangeably with barcode chart. The difference in this video is that I show you two methods for creating them and the visual differences between the two methods.
December 5, 2016
I really liked the learnings that I got last Friday from Rhiannon Fox and the cricket viz I ended up creating. It got me to thinking about other data that I could use with a similar visual display to continue practicing what I learned. Arsenal was preparing to play London rival West Ham on Saturday while I was watching my son skateboarding, so I thought I’d create something comparing Arsenal with their biggest rival, Tottenham Hotspur.
I was able to quickly get all of the results from Wikipedia, which I then imported into Google Sheets and then connected to Tableau. I showed a couple of iterations to Gwilym this morning at the Data School to get his feedback and we agreed that displaying goal difference was the most effective display. In addition, I added dots to indicate the winner. The goal difference display helped show the ebbs and flows of the rivalry way better than showing the goals scored by each team in each match as a diverging bar chart.
Click on the image for the interactive version. Does this display work for you? What might you do differently? Leave a comment and let me know or, better yet, download the workbook, iterate on my design and leave a comment with a link to your version. Enjoy!
December 4, 2016
The chord diagram that is the subject of Makeover Monday week 49 was selected due to a conversation I had on Twitter with a few people last week. Andy Kirk then suggested we use it for Makeover Monday, so here we are. As I mentioned on Twitter, I have yet to see a chord diagram that I think is easy to read. Perhaps it’s me, but in general, I find them overly complex and confusing. The chart in question is about the global flow of people.
What works well?
- Design captures your attention and encourages you to interact
- Design clearly portrays a flow
- Nice drill in to the country level when you click on a region
- Good use of size to indicate the number of people moving between regions and countries
- Really fast interactivity
What doesn’t work well?
- For me, it’s way too busy; I don’t like how there are lines going all over the place
- You can’t see any trends, but maybe that was an intentional choice
- Some of the colors are too similar like East Asia, Southeast Asia and Oceania
- There’s no order to the regions, not even alphabetical, so why are they in the order they are?
- It’s extremely difficult to compare different arcs, e.g., which region to region movement is 2nd most?
For my version, I wanted to keep it very simple. The question I’m trying to answer is which regions have the highest movement or between or within regions? I chose to present it as a simple heat map and to only focus on the region to region flow. I felt including the countries overcomplicated the visual.
December 3, 2016
Friday at the Data School, we had Rhiannon Fox in to run a workshop about her design process and how the Data School can apply that to their work. If Rhiannon’s name is familiar, it’s because we used her great Bermuda population growth infographic for week 30 of Makeover Monday.
We like to expose the team to multiple viewpoints throughout their training. Not every process resonates with every person, so providing them broad opinions helps them find their own way and their own process. Personally, I really enjoyed the workshop with Rhiannon as it opened my eyes to a whole new way of researching ideas and getting inspiration.
As a bit of context, the first day of every Data School cohort starts with me teaching them about data viz best practices, making choices, and critiquing visualisations. We use a lot of A2 paper and crayons! Then, about a month into their training, we have Caroline Beavon come in run a workshop. Caroline’s workshop is based more on infographics and storytelling as she comes from a journalism background. Her workshop builds upon mine. Rhiannon’s then builds upon Caroline’s, however, her approach is more from a graphic designer’s perspective.
I‘ve learned a ton from both of them, but don’t want to give away all of their secret sauce. Contact either or both of them if you’d like to hire them to run a workshop for you. Both of the workshops are absolutely amazing!
In Rhiannon’s workshop, I ended up missing out on a lot of the sketching parts due to meetings and the team presented some really amazing drawings they did for their project. The hardest part was NOT using Tableau to explore the data. In fact, the data exploration is done through the drawings themselves. Since I was not able to catch up, I cheated and used Tableau. Here’s what I built in about an hour or so. Click on the image for the interactive version.
December 1, 2016
Makeover Monday participant Will Chen created this chart for week 48 that compares the share of wealth of different groups to the immigrant population. If you’re not following Will, you should. He’s been creating videos of his Makeover Monday process.
Instantly, I saw a more compelling story and decided to take his viz and iterate. In just a few steps, I changed his viz into a story about the how the change in wealth of the top 0.5% seems to trend along with the percentage of immigrants in the U.S.
Correlation does not mean causation, however, it does lead me to think…will President-elect Trump’s stance on immigration lead to less wealth for him and his peers? I guess we’ll find out in a few years. The Tableau version is embedded below.
November 30, 2016
Yesterday I wrote about how much I liked a World Series viz created by Business Insider. One of my favourite ways to learn Tableau, and one I highly recommend to everyone, is to reproduce work that inspires me.
What was most fun about creating this viz is that it’s built completely with ASCII squares. Yes, I use a measure for the axis, but the measure is merely a placeholder. I learned a lot creating this viz this way; basically you can easily create a unit chart without having to densify the data by using a simple calculation that trims the ASCII squares instead. I also included bar charts in tooltips.
Download the workbook to see how I did it. In the meantime, here’s my take on the frequency of teams appearing in the World Series.
November 29, 2016
Our goal going into the session was to see if we could get to 50 tips in 50 minutes. Right before we started, we decided to let our wonderful judges and the audience count the tips. Why? Because Jeff and I have been using Tableau for a long time and sometimes we do things that come second nature to us that others didn't know.
This was BY FAR the most fun presentation I've ever given or been a part of. Thanks Jeff for being a great partner!!
If you'd like to follow along, you can download the unedited workbook of my tips here and my final workbook here.
My advice, pause the video along the way and try to reproduce the things I do using the starter workbook. Have fun!
November 28, 2016
A connected scatterplot is great for visualising paired time series data. In this case, the pair is the bottom 90% vs. the top N% as picked by the user. The line is colored by the difference between the bottom 90% and the top N%. I added dots on the ends of the lines to make the start and end easier to find.