New Bocoup Blog Post: Backbone.js Live Collections

December 26th, 2011  |  Published in Uncategorized  |  1 Comment

At: http://weblog.bocoup.com/backbone-live-collections

This article introduces a way to incorporate a live data stream into your application using Backbone.js collections. It discusses traditional approaches to connecting to live data, polling and creating a reusable Streaming constructor.

A Backbone collection can be filled in several ways:

  1. By individually fetching or creating models and then adding them to the collection. In this situation, the collection is not responsible for any interaction with a server.
  2. By fetching a group of models using a single request made by the collection object itself. In this situation we define a url property on the collection and fetch it when we’re ready for the data.

When your collection is actually responsible for communicating with an API endpoint to fetch its models, there are several types of data that you might be interested in fetching. For example:

  1. You might have a finite set of data that you need to fetch once for your application.
  2. You might have a feed of data that is constantly updating and thus your collection periodically check for updates.

Dealing with the first scenario is quite simple. It would require defining a Collection constructor that has a url property. Calling fetch on an instance of that collection would then fetch the data and that would be sufficient.

Dealing with the second scenario is somewhat more complex for several reasons:

  1. The end point needs to be queried periodically rather than just once.
  2. The data coming back may already be in your collection (because not enough new data was generated on the server and thus the subset returned is mostly identical.)
  3. The existing collection may need to be ammended or added to.
  4. Some UI component may want to update based on new data being retrieved, but only if there is new data.

Read more here…

Joining Bocoup in July!

June 8th, 2011  |  Published in Uncategorized  |  1 Comment

I’m very excited to announce that starting July 11th I will be joining Bocoup as a senior programmer. I will continue working on data visualization projects with Bocoup’s clients and expand my focus to developing rich client-side interfaces. My work these past few years in the space of data visualization has been intentionally aimed at using open web technologies and Bocoup is a great place to continue to grow on that path. I’m also looking forward to being an active participant in the open source communities I’ve benefited from greatly over the years.

I feel truly grateful for the time I got to spend at IBM Research’s Collaborative User Experience group and the Visual Communication Lab. From working on Many Eyes, to Many Bills to NYTWrites I learned so much about this field from my incredibly talented co-workers and the larger community we’re in. I’m excited to continue the conversations we started and I have no doubt that CUE and the VCL will continue to do great work in the future and I will miss them all immensely. Thank you for fantastic three years.

To infinity and beyond folks!

A New Project: NYTWrites -
Exploring The New York Times Authorship

May 24th, 2011  |  Published in Uncategorized  |  Leave a Comment

For those of you that are more interested in my visualization work, our group recently announced the launch of a new set of projects that we’re calling “Sketches.” Sketches are short projects that we work on for a week or two for the purposes of exploring a dataset, playing with new technology and having loads of fun.

I’m really excited to share the first of such projects, NYTWrites. I’ve been interested for some time in the field of Journalism and the way that it’s changing. I’ll admit that I’m one of those people who loves quality investigative reporting and fears for our hard working journalists as our attention spans shorten. I was really curious to see how stretched they actually are in their writing assignments. Does a reported assigned to cover Japan also write about baseball? Or do they get to dedicate themselves to one topic?

I won’t go into great details here about how the visualization works. I’ve written up a fairly comprehensive post on the VCL blog about that very topic. I will however let you get right to it. Let me know if you find any interesting searches!

Quick comic: Response to my twitter feed this evening

May 3rd, 2011  |  Published in Uncategorized  |  Leave a Comment

Maybe it’s just the (large) group of folks I follow, or maybe today is just a particularly antisocial night, but my feed is full of one way conversations – people throwing out thoughts that no one responds to. Can you imagine that in a party? Where 90% of the things being said are never replied to? I’m entertained by the physical manifestation of our twitter social habits. I still love you twitter, just not today.

Anyways, here’s a quick comic:

New Illustration – City Mouse

April 24th, 2011  |  Published in Uncategorized  |  Leave a Comment

I would say this was me up until December of last year: longingly watching the city from afar, wondering what it would be like. I’m right in the heart of Cambridge now, and can attest to it being as good as it looked (and even better!)

Click the thumbnail to see a larger version. Lots of details there. It’s quite a large piece for me (~2′x3′). I’m enjoying painting on a larger scale, although I can’t help and go into the details.

Guest Illustration – The Spatial Turn in Psychology

April 14th, 2011  |  Published in Uncategorized  |  Leave a Comment

I had the privilege of doing a guest illustration to accompany the wonderful writing of Jo Guldi, as part of her new endeavor to explore the spacial turn.

…Cobb showed children Rorschach tests and watched them play in sand boxes. She observed with fascination how the children seemed to express emotional attachment in play with objects more vividly than with people or animals.

“I became acutely aware that what a child wanted to do most of all,” she wrote, “was to make a world in which to find a place to discover a self…”

Read more here.

Guest Blog Post on Zed Equals Zee: Death and the Powers: a critique

April 6th, 2011  |  Published in Uncategorized  |  Leave a Comment

I’ve been invited to write a guest blog post about Death and the Powers by the wonderfully talented Deb Chachra, who writes insightful posts about the intersection of music, technology and culture @ zed equals zee.

About Death and the Powers:

Death and the Powers is a new opera by composer Tod Machover and developed at the MIT Media Lab, in collaboration with the American Repertory Theater and Chicago Opera Theater. It is a one-act, full evening work that tells the story of Simon Powers, a successful and powerful businessman and inventor, who wants to go beyond the bounds of humanity.

Read my post here.

My SxSW Talk – From Information to Understanding Through the Lens of the Egypt Revolution

April 5th, 2011  |  Published in Uncategorized  |  Leave a Comment

This post is highly overdue, and I am constantly being reminded of why I need to write it. In this month’s Atlantic Issue James Fallows wrote a great article exploring the pluses and minuses of new media. He referenced arguments made by the great journalists, such as Ted Koppel, about the decline in objective & in-depth coverage, and discussed the new models of journalism presented by Fox News, the Colbert Report and Gawker. His reference to the perils of “giving the audience what they want, not what they need” stuck in my mind and reminded me again of the role of data visualization in this space.

Rewinding a bit, my South By South West talk this year was a part of a panel focusing on Geotemporal visualization. My co-presenters did a fantastic job offering an overview of geotemporal visualization methods, the role of trust and aesthetics,  and alternate cognitive models of understanding events and histories. My original intent was to offer an overview of traditional and new media coverage of an important historical event – the Egypt revolution through the geo-temporal visualization lens. As I prepared my presentation however, the focus changed drastically.

I spent countless hours following the reporting on the Egypt revolution in an attempt to survey the type of coverage I saw. What I saw clustered (almost) neatly into the following spaces:

  1. Textual Lists – lists of key events that happened during the revolution. The granularity changed from report to report: Some used days while others went for minutes. Regardless, the start and end points were about the same – the first protest to Mubarak’s departure.
  2. Linear timelines – Some venues layered the textual timelines onto actual traditional similie-like timelines.
  3. Points on a map – Maps become prevelant in the larger news outlets when media such as photos and vidoes was overlayed on top of a map of egypt.

The more I read the various coverage, the less and less connected I felt to the revolution. I saw a tremendous amount of repetition, primarily focusing on the facts. What I didn’t see fell into several categories as well:

  1. Context – I can tell you that political corruption and nepotism were some of the reasons for the revolution, but I couldn’t cite an example. I also couldn’t tell you the history of nepotism in the Egyptian government even though I think it might be an important one. I’d be hardpressed to find any american that could, regardless of how devoted they were to paying attention to the revolution unfold.
  2. Personal Connection – I saw numbers, ranging from attendee counts, to time spent protesting at various locations to number of tweets at varying protest sites. What I rarely saw were personal accounts that amplified the narrative; that turned those facts into something tangible for me. What I wanted, was to know what the Egyptians felt, through their eyes.
  3. Breadth - When I saw the hash tag #egypt overlayed on top of a world map on TrendMap, I saw exactly what I expected. Egypt talked an awful lot about Egypt. By comparison, Egypt did not spend any time talking about Justin Beiber, but that was expected given that they were having a revolution. I couldn’t help and wonder what value are we deriving from this increased use of “point-on-a-map” with trivial data.

In years to come, as historians dissect this new age of revolution, the Egypt revolution will become a single point on a complex timeline. This timeline will contain histories that led up to this revolution, and histories that have yet to be formed. While it might take time to form the latter, the former is within our reach. I always viewed the role of data visualization to be more than just a visual mapping of data. We may want to believe that we don’t editorialize the data we portray, but we do so more than we care to admit. As the infographic style becomes more prevelant, we pay more attention to what we produce: we chose our layouts, we chose our fonts, we chose our default views and our filters because the space we are in is growing and we are learning from each other while competing for viewers. Not all the visualization tools we make are in their core for analytical purposes. Visualization can and is being used for infotainment and delivery of a narrative that we form in one way or another.

This turns us into what I like to call “reflective journalists”. While we strive to report the data as accuratly as we can, we also chose the data and the visual mapping; our choices thus have consequences. Our readers see the world through our eyes and we have some responsability towards them as a result.This proper-informing of our users leads us to a question that I hope we discuss more in the visualization community: the data. Arguing that the right data isn’t always there is a dangerous venture given the twittersphere, our sophisticated devices, etc.. However, is that data enough?

Many discussed the goal of social media in propelling the revolution, so I won’t discuss it here, but what was left out? What about the regions that do not have the type of connectivity that Cairo & Alexandria did? What about a huge and significant portion of the population that does not use cell phones to communicate in the way that young technologists (such as myself) do? What about the important tweets that got lost in the array of twitter-flatland because the flow was simply too much for any one human to parse? What about the back-room deals and negotiations that took place in physical space that weren’t being and won’t be digitized? While the social media data is a valuable piece of our reporting, we mustn’t forget these other sources of information.

The type of data I am talking about is hard to come by: it requires dilligent work, possibly beyond the realms of scraping. It might require finding the right people, listening instead of hearing, and understanding beyond gathering. It might require a bit more journalism, but it would do the story we’re trying to tell justice. I know many will argue that this is not the job of data visualization and I am open to having that conversation any day. I love seeing data visualization grow as a medium, and I love that the line between reporting and analytical tasks is blurring as well. The question is, how do we participate and what standards do we set for ourselves for our future work as we try to transition from offering information, to fostering understanding.

Coffee Shop Doodles 2

March 27th, 2011  |  Published in Uncategorized  |  Leave a Comment

My wonderful friend Andrew had a glorious birthday party today, comprised of superb DJing, bear hats and mochi (all of my favorite things?!) I made him this silly card while munching on some oatmeal. Much thanks to Jesse for picking such an appropriate animal for a birthday card :-p.

Coffee shop doodles 1

March 26th, 2011  |  Published in Uncategorized  |  Leave a Comment

Nothing like an afternoon filled with doodling. I’ll try to upload some of the others too. This is an awful iphone capture, so… you know. =)