Your friends at Viget present Inspire, a Design & Interaction Blog

Building a Traffic Heatmap with Google Analytics and R

For all of the reporting power that Google Analytics provides, occasionally I want to see data in a way it doesn’t natively support. Most recently, I was interested in understanding hourly and daily shifts in traffic across sections of a site. Knowing when these occur could help authors time their publishing schedules for maximum exposure. 
 
Here’s what I was looking for – a heatmap that boils a few month's worth of data into a weekly view. As you can tell from this example, traffic tracks closely to normal working hours. 
 
 
 
My first thought was to pull the data in CSV form from GA, hack it up in Google Spreadsheets or Refine, and then chart it out. But I soon found that I couldn’t find a way to reproduce this chart using their stock widgets. I looked at D3 and a few other charting frameworks and, though I was impressed, I wasn’t ready to commit to that learning curve. Plus, I didn’t want to spend a lot of time pulling data exports from GA if I could help it. 
 
Looking further afield, I remembered R. 

Single-click layer exporting in Photoshop

Use this sweet photoshop action to save out layers and groups with one click.

One of the most repeated tasks in the build-out process is saving out an individual asset in the comp as a .png or .jpg. If you ever find yourself repeating the same sequence of actions over and over again in Photoshop, STAHP, and open up that dusty actions pallet.

Before we get into actions, lets compare two ways to do this manually...


SXSW, Part of the Process for Getting Enlightened and Energized

What I find lovely, both times I've been to SXSW Interactive, about a conference so large and diverse is seeing the connections between wildly different sessions. This year one of the overwhelming themes was process. What I first heard in a panel about web typography was repeated in a panel that covered the early days of NASA. The same point made in a responsive design panel was echoed in a discussion about wearable devices. And so on...



Get Stronger Through Rest

"You don't get stronger on your training days. You get stronger on your rest days."

I feel this adage holds true in many disciplines, especially the two that I'm most passionate about: designing and rock climbing. But make no mistake, resting can be the hardest thing to do. When you're passionate, driven, and experiencing adrenaline and success, stepping away seems like a setback. Add a looming deadline or an upcoming competition, factor in major stress, and rest can seem irresponsible. As creative professionals, we tend to engulf ourselves in our work, but we hamstring ourselves in debatably the most crucial part of the design process, stepping back and re-evaluating.