This article features Xan Gregg's (of SAS Institute) winning solution for the second scenario in the 2006 Data Visualization Competition.
This article is the second in a five-part series that features the winning solutions to our 2006 Data Visualization Competition. The second scenario in our competition asked participants to create a visual display that would enable people to review their checking account activity.
Here’s the scenario as it was described to participants:
You have been asked to design a visualization that can be used by bank customers to track their checking account activities during a single month. You want to make it just as easy for people to see the individual deposit and withdrawal transactions as well as the resulting balance. You also want to make it easy for them to see the precise dollar amounts of the transactions and balance whenever they wish.
In addition to this description, participants were given the following data in an Excel file.

While judging the many solutions that were submitted for this scenario, in addition to clarity of communication and ease of use, I was looking for a display that would allow people to see the following:
- Both the checking account transactions that occurred during the month as well as the changing balance
- The varying amounts of time that passed between the transactions and resulting balances as well as the points in time when they occurred
- Precise values (deposits, withdrawals, and the resulting balance) without cluttering the visual display
- The overall change that occurred between the beginning and end of the month
The Winning Solution
Xan Gregg of SAS Institute submitted the winning solution for this scenario, which he created using JMP, one of SAS’ many products. JMP provides a rich collection of statistical functions, visualizations, and data interaction methods for analyzing quantitative information.
Take a moment to look at Xan’s solution (Figure 1) to determine for yourself how well he succeeded in communicating the month’s checking account activity.

Figure 1: Xan Gregg of SAS Institute’s winning solution.
Here are some of the highlights that made Xan’s solution stand out:
- The first quality that I noticed was that this display is aesthetically pleasing. The soft colors and minimal visual means that he used to group the information and assist the reader in scanning it (for example, the light gray background color in the table that assists the reader’s eyes in scanning across the rows) work quite well.
- The organization of the information into summary, balance by day, and transaction details is simple, meaningful, and clear.
- It is very easy to track the account’s balance as it goes up and down through the course of the month.
- It is also easy to see the duration of each balance amount and precisely when it changed.
- Precise transaction values, as well as the resulting balance, can be easily associated with the graphical display in a way that doesn’t clutter or distract from the graphical pattern it reveals.
- The transaction table is nicely formatted (with one exception, which I’ll mention below), making it easy to read and compare individual values. For example, by displaying a consistent number of digits for each part of the dates in the leftmost column (that is, always a two-digit month, two-digit day, and four-digit year), each part of a date (month, day, and year) is precisely aligned with the same parts of the other dates, which makes them easy to compare.
- Weeks during the course of March are subtly delineated in the graph by a light gray fill color behind the dates for every other week (Sunday through Saturday). This adds useful information without clutter.
In addition to learning from Xan’s thoughtful design decisions, let’s scrutinize his display to see if it could be improved. Given the purpose of this display, I believe a few design changes could make it even more effective.
- While it is extremely easy to see the changing balance, it is not equally easy to see the deposit and withdrawal transactions that caused these changes in the balance. More could be done to make it easier to focus on the individual transactions separately from the balance, and to clearly separate deposits from withdrawals. I’ll show a design of my own that attempts to do this.
- There is an inconsistency in how numbers are displayed. Those that appear in the summary section do not include commas (for example, $4218.33 rather than $4,218.33), while those that appear in the transaction details section do. It is almost always useful to include commas to make numbers easy to read.
- In the transaction table, when parentheses are used to identify negative numbers, the entry is right-aligned to the parenthesis, rather than to the last digit of the number, which causes the reader’s eyes to bounce back and forth slightly when scanning the numbers up or down through the column. This is a minor flaw, which could be easily corrected by right-aligning the numbers (excluding the right parenthesis) and allowing the right parenthesis to fall to the right of the number.
Other than the first possibility of improvement in this list, these items are quite minor. To illustrate how the deposit and withdrawal transactions might be featured with as much clarity as the changing balance, I’ll show you a design that I created prior to the competition (Figure 2). This is an example of a display that is sometimes called a waterfall graph, but one that I think does a better job than most waterfall graphs that I’ve seen.
