In visual analytics, data interaction can be as important data visualization. This tutorial is about adding interactivity to Tableau visualizations, specifically using Filters and Parameters. Filters Filters, you guessed it, let you filter data. In Tableau, they can be either static or interactive. An example of a static filter would be a condition that was set in worksheet mode to display a certain subset of the total data (eg. only.]]>
In visual analytics, data interaction can be as important data visualization. This tutorial is about adding interactivity to Tableau visualizations, specifically using Filters and Parameters.
Filters
Filters, you guessed it, let you filter data. In Tableau, they can be either static or interactive. An example of a static filter would be a condition that was set in worksheet mode to display a certain subset of the total data (eg. only sales for certain provinces, or certain product categories). Static filters can be revised in the worksheet by going back to the original filter dialog, but can’t be changed in dashboard mode or from Tableau Public. In other words, they are not interactive by default. You can make them interactive, however, by choosing Show Quick Filter to add a filter list to the worksheet and dashboard.
Parameters
Parameters are commonly used to create additional types of interactive filters, but they are not, in themselves, filters. Rather, they are variables. As such, they aren’t really useful on their own; they have to be part of something else, such as an equation, a filter, a reference line, a calculated field, or what Tableau calls parameter controls (sliders, selection menus and type-in fields).
Like filters, parameters can be either static or interactive. An example of a static parameter would be a fixed sales target that is used in a bar graph to colour sales numbers that meet the target one colour, and those that don’t, another. An example of an interactive parameter would be a parameter control slider on the dashboard that lets the user adjust the sales target up or down and see the resulting colour change in the visualization.
As an interaction designer, I think of sliders, selection menus and type-in fields in terms of interaction. Tableau, on the other hand, is more concerned with the underlying math, formulas and analysis. As a result, the workflow in Tableau for creating interactivity starts with the parameters and calculated field formulas first, and adds the interactive feature to the UI last. Secondly, interactive features are called “Parameter Controls”, suggesting that you are interacting with the underlying formula more so than the visualization itself.
Personally, I find Tableau’s workflow is a bit counter intuitive. Here’s how I would do it: add an Interactions Card to the standard worksheet UI. Populate the card with icons for sliders, selection menus, radio buttons, toggle switches, zoom tools, selection tools, reference lines etc. This way, the user can simply drag an interaction icon to a visualization, or drag a measure or dimension to the interaction icon first; and then establish the parameters of the tool second. I feel like this drag and drop approach would be intuitive and still consistent with Tableau’s other workflows. Anyway, that’s my two cents’, for what it’s worth.)
Tutorial
The following examples illustrate different ways to use Filters and Parameters. Once again, I’m using the SuperstoreSales data found here
. Open a new worksheet tab for the first two examples because we’ll come back to them in the second half of the tutorial.
Filters
Probably the most familiar and straightforward filter type is the simple filter.
Filter by top (or bottom)
Open a new worksheet tab. Say you wanted to look at Sales for every individual product the Superstore sells.
Filter by top and condition
In a slightly more complex scenario, what if you wanted to look at the top 15 sellers in the Technology Product Category?
In plain english, this formula means: for each product order (i.e. row in the dataset), IF the product category is Technology, THEN add the Sales amount; if not, add zero. Tableau will confirm that your syntax is correct with a green check mark or tell you there’s something wrong with a red X. Assuming the syntax is correct, click Apply, then OK at the bottom of the CF dialog. Then click OK again at the bottom of the Filter dialog.
Parameters
The examples so far have used static filters (i.e. fixed, under the hood). They can be revised in a worksheet by reopening the Filters dialog and revising the filter, but they can not be adjusted or interacted with in a dashboard. The following examples illustrate how Parameters can be used to make them more interactive.
Add an interactive filter list
It doesn’t actually take a Parameter to make a filter list interactive. All you have to do is right click on the filter name in the Filters card and select Show Quick Filter. Tableau will add an interactive filter list to the worksheet.

Add a slider control
Using the Filter by top example, say you want to replace the fixed number of products to display (15) with a slider that lets user control how many top (or bottom) selling products to display. To do this you need to revise the original Product Name Filter from a fixed number (15) to a variable using a Parameter.
Add a Reference line
Use the same Filter by top technology sales example again. This time, say you wanted to add a Reference line that showed a sales target, and you wanted to make that reference line adjustable by the user.
Parameter + CF (Big market/small market cutoff example)
A parameter can also be used in a calculated field. For example, say you wanted to look at Sales by Province and categorize the provincial markets as either big or small depending on the number of sales. Since the big market/small market designation is not part of the original dataset, we have to use a Calculated Field to create it. In this case, lets look at the number of sales orders, as opposed to either tthe order quantity (i.e. 50 pens or 10 desks) or the sales value (i.e. dollar value).
In plain english, this formula says is: IF the count (i.e. the number) of Sales is greater than 500, THEN it is a Big market, otherwise it is a Small market.
Tableau will verify that the formula syntax is correct with a green checkmark below the Formula window. Then click OK to close the dialog.
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens
I am a multidisciplinary designer working in data visualization, interaction design and innovation. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
Tableau v9.0 virtual launch party overFLOWs with marketing jargon Tableau hosted an east-coast/west-coast Virtual User Group launch party to introduce their newest version, v9.0: the Flow release, as they coined it. __ First impression At the risk of sounding shallow, I expected a bit more polish from Tableau. They are a worldwide leader in the BI market and they boast impressive revenue and growth numbers. But with too much blunt.]]>
Tableau v9.0 virtual launch party overFLOWs with marketing jargon
Tableau hosted an east-coast/west-coast Virtual User Group launch party to introduce their newest version, v9.0: the Flow release, as they coined it.
__
First impression
At the risk of sounding shallow, I expected a bit more polish from Tableau. They are a worldwide leader in the BI market and they boast impressive revenue and growth numbers. But with too much blunt marketing jargon and filler the two hour production seemed a bit cheap.
I couldn’t resist counting the number of times (a) Flow, Where Smart Meets Fast, Instant Analytics and Fast Fast Fast were use, (b) improved user experience was referenced, and (c) one of the presenters repeated the mantra: “I’m so excited!!!”. Which begs the question: why wasn’t there more content for this invested and engaged Tableau user to focus on?
So just how many times was the word FLOW used in the just-less-than-two-hour event? Answer: 25. See the viz above.
Which presenter used it the most? Answer: that depends. Ellie and Elissa each used it twelve times. So, based on the raw data, it’s a tie. However, normalizing the data reveals Elissa as the front runner, using Flow every 55 seconds on average. By comparison Ellie, who was on air much longer, only used it every 3 minutes and 50 seconds, on average. Congratulations Elissa.

__
Enough about the talking heads. Let’s get down to the new Tableau product itself. This is what v9.0 has to offer:
For the data geek
Lots and lots of geeky new stuff:
For the mapper
Improved usability (thank goodness!!!)

I didn’t hear anything about improved map granularity for non-US locations. However, Ellie’s map example – Edinburgh, Scotland – had postal-code/zip-code level detail, so I’m optimistic.
For the interface and usability person (and who isn’t?)

For the Tableau Public user
Apparently all the new v9.0 features will be available on Tableau Public, not just the paid versions (Server, Online and Desktop).
Tableau claims that they will be adding more profile and social features to TP so that people can use the platform more as a portfolio and blog. I hope they offer some control over who can see what. For example, I might want to publish my finished works to everyone, but hide all my drafts and preliminary versions. Or, I might want to share visualizations amongst a certain group of people – my Visual Analytics class, for example. Hopefully, that will be possible. Tableau didn’t provide this kind of detail, so it remains to be seen.
For the storyteller
Ellie mentioned formatting upgrades for Storypoints – not during her formal demo, but as more of a casual comment during her chit chat with Nate in the dying minutes of the production. She suggested these upgrades could be a sleeper hit of v9.0, but didn’t offer any additional details or images. Stay tuned.
For sales and marketing
A lot of cheese during the sales pitch part of the presentation:

__
Background
I use Tableau Public and Google Refine (aka Open Refine) in my Introduction to Visual Analytics course so that the students can get up and running in a relatively short time generating multiple visualizations from real datasets. At this point in time we use Tableau Public v8.2 for Mac.
I have not personally beta tested v9.0. This blog is based solely on what I heard and saw during the Tableau Virtual User Group launch party. I look forward to using v9 after its full release and am sure that I will discover much more then. Stay tuned.
Oh, and one more thing: did I mention flow?
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens
I am a multidisciplinary designer working in data visualization, interaction design and innovation. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
I created this data viz course and have delivered it four or five times now. As you might imagine, I didn’t get everything right the first time (“no guff!” I hear the first cohort saying) and, as a result, the course evolved from one iteration to the next. I have learned a thing or two about teaching along the way. The students in Continuing Studies are already pretty highly motivated.]]>
I created this data viz course and have delivered it four or five times now. As you might imagine, I didn’t get everything right the first time (“no guff!” I hear the first cohort saying) and, as a result, the course evolved from one iteration to the next.
I have learned a thing or two about teaching along the way. The students in Continuing Studies are already pretty highly motivated self starters. Why else would they commit their Saturdays or Sundays to data viz school? Nevertheless, this time around I deliberately increased their deliverables and structured weekly assignments of one kind or another. Wow! Did they ever deliver. Mind blown : )
As an homage to @thisisindexed.com, I captured my biggest take-away from the class in a simple info graphic: the more you ask them to do, the more they deliver.
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens
I am a multidisciplinary designer working in data visualization, interaction design and innovation. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
For many Tableau beginners, making high density, interactive visualizations can be a challenge. Tableau woes – Part 1 addressed this challenge with three strategies for combining data variables into a single display rather than plotting them in individual rows and columns (Tableau’s default mode, that makes direct comparison difficult to impossible): Measure Values Blending Axes Dual Axes This post will explain two more tools that can be used to add.]]>
For many Tableau beginners, making high density, interactive visualizations can be a challenge.
Tableau woes – Part 1 addressed this challenge with three strategies for combining data variables into a single display rather than plotting them in individual rows and columns (Tableau’s default mode, that makes direct comparison difficult to impossible):
This post will explain two more tools that can be used to add data density to a Tableau viz and give it a bit more interactivity.
As with the previous post, I’m using Tableau’s superstore sales dataset.
Create Calculated Field
Starting where we left off in Tableau Woes – Part 1, what if you had created the viz above, but wanted to compare sales in one province, say Quebec, to national sales. If you tried to filter by province, Tableau would apply the filter all the Dimensions and Measures in the display and the end result would be a comparison of Quebec sales to Quebec sales, which is not useful.
The solution is to use Create Calculated Field. CCF is one of Tableau’s real strengths. It allows the user to create new Measures and Dimensions that were not in the original dataset, directly from inside Tableau and on the fly. With it, you can avoid having to back out of Tableau, revise the original Excel file, re-connect to Tableau and start all over again. Here’s an example:
Tableau Parameters are another tool for controlling what is displayed. Parameters also make use of the Create Calculated Field function.
Hierarchy
The Hierarchy tool can also add interaction and dimensionality to a visualization, making it possible to drill down into detail or aggregate back up to bigger buckets. Here’s how it works:
It is worth noting that Hierarchy isn’t equally interactive for all viz types in dashboard view. A treemap, for example, doesn’t have any axes and I found it impossible to find a Plus or Minus sign to click. I imagine the same goes for a Bubble chart. If anyone has a solution for this problem, I’m all ears.
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>
Naturally, Tableau Public’s Getting Started vidoes and tutorials make creating compelling visualizations look smooth and easy; as though you can simply download the program and hit the ground running. But from what I’ve seen in class (as well as my own experience), it ain’t necessaily so. Common frustration Once you connect to some data set and start placing Dimensions and Measures on Rows and Columns shelves, Tableau has a frustrating.]]>
Naturally, Tableau Public’s Getting Started vidoes and tutorials make creating compelling visualizations look smooth and easy; as though you can simply download the program and hit the ground running. But from what I’ve seen in class (as well as my own experience), it ain’t necessaily so.
Common frustration
Once you connect to some data set and start placing Dimensions and Measures on Rows and Columns shelves, Tableau has a frustrating habit of spreading them out in individual rows and columns rather than layering them on top of each other. This creates at least three problems:
For example, using Tableau’s superstore sales dataset, when Sales, Profit and Order quantity are dragged to the Rows shelf, the resulting line graphs are displayed in three rows, rather than all on the same graph with a common y-axis scale.

Possible solutions
In today’s class we covered a number of strategies for increasing the dimensionality of Tableau visualizations and avoiding the problem above.
Measure Values (what’s that mean and where did it come from?)
Use the Measure Values and Measure Names, two Calculated Fields that Tableau automatically generates when it connects to a data set. Think of Measure Values as being all the Measure variables grouped together.
Blending axes
Another way to do pretty much the same thing:
Dual axes
A third way to combine variables is to create a Dual Axis viz. But this only works for a maximum of two variables.
Perception and cognition
The theory part of the class covered concepts of perception and cognition, and how they inform basic visualization design decisions. You can read about it here.
Here’s the Week Three – Perception & cognition slides.
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>
Began the class with a game of Ripping Yarns. Working in small groups, the students’ challenge was to deconstruct a data visualization whose meaning wasn’t immediately obvious – i.e. that didn’t hand them an answer on a platter – based on the visual info, hints and clues provided. Then, to construct the best story possible about what the viz meant, keeping just this side of implausibility. The result? This clockwise.]]>
Began the class with a game of Ripping Yarns. Working in small groups, the students’ challenge was to deconstruct a data visualization whose meaning wasn’t immediately obvious – i.e. that didn’t hand them an answer on a platter – based on the visual info, hints and clues provided. Then, to construct the best story possible about what the viz meant, keeping just this side of implausibility.
The result? This clockwise visualization, above, represents Battlestar Galactica expenditures before and after the invasion by the Cylons (?)*
Not surprisingly, the author’s intended meaning was different: a comparison of US departmental budgets relative media coverage in 2009. It had nothing to do with flows of either money or time. Can’t blame students for reading either relationship into it the viz, though.
This lesson led right into Week Two’s subject matter: a survey of visualization types and a discussion of their strengths, weaknesses, implications and data-suitability.
Here’s the Week Two slides.
* If I didn’t capture the BG storyline and references accurately, the students can correct me or elaborate, as they see fit.
#DataVizInSixWeeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome.
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>
Just launched version 2 of DataViz in 6 Weeks, a blog about teaching the Introduction to Visual Analytics course at OCAD University in Toronto. First class, fall term, was disrupted by brand new classroom projector technology that worked until it didn’t, and a fire alarm evacuation that kept us huddled under an awning across the street to keep out of the rain. An hour later, we schlepped back up the.]]>
Just launched version 2 of DataViz in 6 Weeks, a blog about teaching the Introduction to Visual Analytics course at OCAD University in Toronto.
First class, fall term, was disrupted by brand new classroom projector technology that worked until it didn’t, and a fire alarm evacuation that kept us huddled under an awning across the street to keep out of the rain. An hour later, we schlepped back up the stairs to the top floor. Computer restarted and, surprise, it still couldn’t connect to the projector. Kudos to the class for being good sports and gathering around my laptop for a small screen presentation about putting data visualization in context. In the half light classroom, it felt a bit like telling stories around a glowing camp fire.
Thanks to Michael Friendly’s The Golden Age of Statistical Graphics for a great survey of the Golden Age of statistical graphics, and his Milestones of data viz website.
Here’s the Week One slides.
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>
It seems to me that cartography is a lot more comfortable with metaphor (maps as metaphors; the metaphorical use of maps) than either data viz or visual analytics are. Data Viz and metaphor So what does data visualization have to say about metaphor? Edward Tufte, with his less-is-more, no-nonsense approach to numbers, statistics and data visualization, dismisses the metaphor as a cutesy and gratuitous device and a sign of ”loose”.]]>
It seems to me that cartography is a lot more comfortable with metaphor (maps as metaphors; the metaphorical use of maps) than either data viz or visual analytics are.
Data Viz and metaphor
So what does data visualization have to say about metaphor?
Edward Tufte, with his less-is-more, no-nonsense approach to numbers, statistics and data visualization, dismisses the metaphor as a cutesy and gratuitous device and a sign of ”loose” thinking:
Fernanda B. Viégas and Martin Wattenberg describe metaphors as mere surface treatment:
I agree with Tufte that sports announcers and politicians have been known to abuse metaphors (we can’t all be so eloquent). Equally, some information designers have been known to play fast and loose with data, often disguising the facts with one form of distracting surface treatment or another, including visual metaphors. In either case, the fault lies with the speaker or the designer – not with the metaphor, so let’s not throw the metaphorical baby out with the bath water. In data viz, the role of metaphor deserves a deeper look.
Cartography and metaphor
Maps, like metaphors, are simple things that help us understand bigger and more complex things (such as the earth or the New World). Marshall McLuhan said that all media are metaphors in that they translate one thing (raw experience, data, the earth) into another form (speech, visualization, a map). But, he said, no medium is a neutral carrier of content. What one hides, another reveals. World maps flatten curved space, distorting one dimension to preserve another; maps necessarily conceal as much as they reveal. After all, a 1:1 scale map of the world would be useless. In these respects, maps and data visualizations are no different.
But more than that, we think spatially – even about non-spatial concepts (more on this below). So extending spatial and map-related metaphors to information in other domains comes naturally to us.
Metaphor and cognition
Metaphorical thinking is fundamental to cognition. According to Metaphor Theory, in the course of normal early childhood development, we internalize basic spatial metaphorical concepts such as:
Subsequently, according to metaphor theory, as language skills develop, we acquire more complex conceptual concepts but they are all built on simpler metaphors. Metaphors, then, are the building blocks (another metaphor) of language and meaning.
So it is with our visual languages, including data viz. Complex visualizations evolve from simpler precedents and rely on the viewer’s familiarity with what came before. We expect our older brother to be bigger and taller than us. Similarly, we associate bigger values with bigger shapes and higher positions on a bar graph. That’s why the following visualization is so sneaky. It reverses the y-axis convention to mislead the viewer into thinking the crime rate has fallen since 2005.
Number of murders committed using firearms: reverses y-axis convention, while using dripping blood metaphor for gory effect
In my Week 3 post, I described how our brains evolved ways to make perception highly efficient while minimizing the load on our visual working memory—so that our heads did not have to be the size of beach balls to handle all that visual processing. As I said then, I’m no psychologist, but it seems to me that we similarly rely on metaphor as a light weight carrier of meaning to reduce the overall cognitive load on our brains.
Four more reasons to pay attention to metaphor
In the interests of space and time, here, briefly, are four more reasons to study metaphor in data visualization:

So are metaphors only acceptable in infoViz and graphic design? Is there no place for them in dataViz and visual analytics? You know where I stand. Please chime in.
This week’s tools
Over the course of six weeks, we have used a range of data visualization tools, starting with the more ubiquitous (Excel), and progressing through a number of more or less user-friendly and more or less open source tools (Many Eyes, Tableau, Gephi, Scrape Similar). Today we demonstrated two open source tools at the more code-savvy end of the spectrum: Processing and D3.js. Both programs let you parse data and design original visualizations entirely from scratch, thus providing more freedom than some of the pre-packaged tools.
Design charrette
As in Week 4 we played the design charrette card game, this time adding one additional category: data type (ordinal, nominal, in/formal, un/structured, qualitative, quantitative etc.).
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>
Data Data Viz isn’t just about cool visualizations; it’s also about data. This week we tackled the subject of data: Big Data, Open Data, curating data, data wrangling tools, as well as a little bit of stats. What is Big Data? I’ve always found the term Big data a bit curious because of its similarity to Big Pharma, Big Oil, Big Sugar and Big Tobacco; all largely pejorative terms that.]]>
DataWhat is Big Data?
I’ve always found the term Big data a bit curious because of its similarity to Big Pharma, Big Oil, Big Sugar and Big Tobacco; all largely pejorative terms that refer more to the powerful super-giant corporations that dominate each industry than to the product being harvested or manufactured. Big Anything implies profit at any cost and money-no-object special interest lobbying power.
So, when big data was coined and popularized in the 1990s and the 2000s, was it a deliberate nod to those other Big industries? I’ve looked into a few histories of the term, but can’t find anything that addresses the question. Any thoughts?
Definitions of big data typically focus on what makes the data (i.e. the product) unique rather than the corporations who have vested interests in it (despite our growing awareness of these corporations and security services). For example, Wikipedia describes big data as ”a blanket term for any collection of data sets so large and complex that it becomes difficult to process using on-hand database management tools or traditional data processing applications”.
In 2001, Gartner characterized Big Data as growing along 3 different axes — the 3 V’s — not just volume, but variety and velocity as well.
Big data – the new oil
When data becomes a commodity, then it stands to reason that the more data the better, right? Maybe not. In many cases, the challenge isn’t to make more data, but to figure out what to do with what we already have. In other words, the challenge is curation rather than creation. Curation is about finding meaning in data, storytelling and adding value to data. And, of course, this is data visualization’s mission.
Some common curation tasks involve:
Maybe not the most glamourous side of data viz, but important none the less.
This week’s tools
In keeping with this week’s theme, we used the second half of the class to try our hands at a number of open source tools for wrangling and scraping data:
The verdict? Investing a little time to learn XPath code goes a long way, when combined with GoogleDocs and Scrape Similar. Here’s a couple of good tutorials:
Next week
Metaphor in data visualization
Processing and D3.js programming tools for custom designed data visualizations
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>
Last week’s topic, Perception and Cognition, dealt with perceptual processing at the level of basic visual forms: shape, size, colour, value, texture, pattern etc. However, visual design and communication are much richer and more complex than that. They involve metaphor, wit, irony, surprise, narrative, interaction, animation and both 2D and 3D form. This week’s class, and the next, addressed these kind of design issues. Interaction William Playfair’s bar chart of.]]>
Last week’s topic, Perception and Cognition, dealt with perceptual processing at the level of basic visual forms: shape, size, colour, value, texture, pattern etc. However, visual design and communication are much richer and more complex than that. They involve metaphor, wit, irony, surprise, narrative, interaction, animation and both 2D and 3D form. This week’s class, and the next, addressed these kind of design issues.
Interaction
William Playfair’s bar chart of Scottish imports and exports in 1780 was a static, black and white image intended for print. Needless to say, it had no layers, filters or information tool tips. Its bars could not be manipulated and its data was not live. It was not possible to either drill down into detail or aggregate 1780 Scottish exports with another country’s or another year’s.
As I wrote in Week One of Data Viz in 6 Weeks, data visualization today is more about interacting with data than simply representing it. Designing data visualizations, therefore, involves designing user interface and interaction as much as it involves designing the representation.
Traditional tools for data interaction include layers, filter boxes and query lists, amongst other things. They are a great start, but have some weaknesses from a usability standpoint:
By contrast, direct manipulation is a more hands-on approach to interacting with data. With direct manipulation you interact directly within the data visualization itself rather than via external or peripheral menus and filter lists.
The Brava visualization, above, employs direct manipulation. The large green dot provides an overview of a patient’s condition on a green/yellow/red spectrum. A second smaller dot, the same colour as the first, provides redundant coding for users with colour blindness as well as a means of direct manipulation. First, its position between green at the top and red at the bottom corresponds to its position on the colour spectrum. Second, its number is mapped between +1.0 (green) and -1.0 (red) to reinforce the colour and provide more precision. Additionally, the small dot has a tail which fades into the background, providing context and trajectory information. Here’s where the direct manipulation comes in: the user can move the smaller dot to any point along the tail to go backwards and forwards in time and access the associated health information.
Animated transitions
Animated transitions also help the user understand changes in the data much better than instantaneous changes. Fathom Information Design’s (aka Ben Fry) Powering the Kitchen is a great example of how and why.
Click on Appliance View from the tabs on the right side of the screen. Then add the Range from the appliance menu on the left side and watch the energy consumption from the oven range, in green, be added to that of the fridge, in red. Being animated, it’s easy to spot, even if your eye has to move from one side of the visualization to the other.
It goes without saying that movement catches the eye. It is one of the strongest preattentive perceptual features mentioned in Week 3 of Data Viz in 6 Weeks.
Bill Buxton wrote that you need to think about designing the transistions between static states (i.e. views, web pages etc.) as you do about designing the static states themselves. The Powering the Kitchen is a great example of that principal in action.
Learning is a full body experience
Because you learn with your hands as much as your eyes and ears, this course is more than a lecture-based Data Viz ‘studies’ course. Each week, students also get their hands dirty using different open source data visualization programs. This week’s was Gephi, a network mapping tool.
Students also formed teams to played a design charrette card game. By drawing one card from each of three piles, teams randomly chose a Viz Type (eg. treemap, block histogram, small multiples etc.), a Design Feature (eg. metaphor, colour/hue, direct manipulation) and a Data Scenario (eg. pollution levels around Pearson Airport, spread of infectious diseases, Alice in Wonderland). Then they had twenty minutes to brainstorm and sketch as many data visualization ideas as possible that incorporated all three (or more). At the end of the charrette, they presented their ideas to the class to be torn to shreds (joking).
Next week
More Data viz design issues
Data scraping tools
DataViz in 6 Weeks is my blog about teaching Introduction to Visual Analytics at OCAD University in Toronto. Comments, follows and shares welcome. #DataVizInSixWeeks
Anne Stevens I am a multidisciplinary designer working in data visualization, interaction design, innovation and critical design. I am particularly interested in non-screen based physical representations of data and tangible user interfaces.
]]>