Archive for July, 2007

Here’s a good post from the Vitamin site on 5 ways to optimise inĀ  AJAX for Ruby on Rails.

Enjoy.

One of the things that we’re always trying to do with data visualisation is show more variables, while trying at the same time not to clutter the map and overwhelm the viewer. When trying to show more than one variable across a map, it rapidly becomes impossible to grasp the information in one go. Edward Tufte, on page 153 of his classic book “The Visual Display of Quantitative Information”, describes one such attempt to map two variables through interaction of two colour schemes as “a puzzle graphic”, “experienced verbally, not visually”.

But that doesn’t mean that it’s not worth the effort. The distribution and interaction of two variables across a region is inherently complex, and to expect every nuance to immediately leap out at a viewer without reflection and complex analysis is unrealistic. My experience of reading professional weather maps that show multiple overlapping contours (e.g. of pressure and temperature) leads me to believe that any multivariate geographical visualisation will require some practice to get the most out of: to learn that where the isobars and isotherms are perpendicular, thermal advection is occurring.

If two variables are too much for Tufte, then the map below would appal him: I’m experimenting with showing three census variables at once on a map of central Wellington. I’ve mapped residential population density to the red channel, density of office workers to the blue channel, and density of other workers (e.g. manufacturing, retail) to green.

Trivariate mosaic visualisation - Central Wellington

It’s certainly complicated! But nevertheless, certain patterns do immediately leap out, and the more I look, the more I see. Purely residential neighbourhoods are quite distinctive in shades of pure red, and variations of population density can be seen quite clearly. The CBD stands out very plainly, but on second glance there’s also a difference between the Lambton Quarter and Thorndon: the cyans of the former show that office workers are balanced by others (probably retail), whereas the latter is much more of an office ghetto. Te Aro is quite a patchwork of greens and earthy tones, showing that a growing residential population is starting to complement the retail, entertainment and tradition light industrial uses of that part of town.

So, while bearing in mind Tufte’s warnings, I think that this sort of trivariate thematic mapping might have a lot to offer. In particular:

  • High data density: three separate variables across densely measured meshblocks.
  • Emergent patterns: without having to explicitly code “mixed use districts” or “CBDs”, they emerge from the interaction of two or more variables.
  • A meaningful grid: census meshblocks are mostly based upon city blocks, so variations in urban form, such as the grid pattern of Te Aro versus the curvy hill suburbs, are easily visible. The familiar forms (at least to locals!) of the wharves guide the eye without explicit use of contextual layers.
  • Exploiting human visual processes. While I’d concede Tufte’s point that one has to consciously remind oneself of what certain colours mean, the fact that the RGB system has a neural reality makes it easier than a more arbitrary system would have done.
  • Metaphorical power: I deliberately chose to make light colours represent high density and black represent an absence of people, which is the inverse of the usual approach. That gives a map full of neon colours, evocative of “city lights”, and fits with my own preference for dense and vibrant cities. It also brings to mind a mosaic, with its connotations of colourful diversity. As always, symbology reveals ideology!
  • Visual appeal. Well, at least I like to think it looks good! While it wasn’t deliberate or expected, I think it’s ended up quite reminiscent of early Paul Klee.
  • Depth of exploration. While the two previous points may seem relatively trivial, a map that is attractive and evocative is more likely to bring people back to explore further than an ugly or dull map would. Every time I look, I keep finding more patterns and intriguing anomalies, and it keeps raising new questions to ask of the data.
Sphere: Related Content

Joel Sposky has a post talking about a few books. He singles out a quote from Ben Casnocha’s book called My Start-Up Life.

Great entrepreneurs show up, take small risks (and sometimes, large risks), raise their hand when they’re confused, and try to figure out what’s going on and how a situation could be made better.

When you show up and raise your hand, you’ve already outperformed 90 percent of the crowd.

That’s a really preceptive insight from the 19 year old. I’ve meet plenty of people who have lots of great ideas, but not enough balls to ante, do something about it and the determination to see it through.

If we’re going to change that way of thinking, then we’ve got to start early. That’s one of the core drivers of the Summer of Code ie. show that there are options outside of the cubical farms of the big consulting companies. On the Summer of Code you’ll get paid to experience the life in a start-up and hopefully think of your own ideas to cook up.

Sphere: Related Content

While I may be a fan of the “intuitive” and “idiosyncratic” nature of neogeography, we all recognise the importance of getting the core geographic information right. We’re about to start a comprehensive update of all our mapping tiles, and while we were able to get out a relatively quick fix for the Wellington bypass, it will take a bit of effort to do it properly for the whole country.

While we pay good money for our base data, it’s a fact of life that nothing’s perfect, and the physical world sometimes moves too fast for surveyors, councils and data providers to keep up with. We already have a list of updates and corrections that we’ll probably have to make manually, and we’ve had useful reports from ZoomIn users that we’ve added to the list. But we want to ask you, our blog readers, whether you’ve noticed any errors, out-of-date areas or places that could do with a tweak.

Along with that, I’d like to know if there are any improvements we could make to the appearance of our maps. As just one example, as a supporter of pedestrian-friendly cities it has always seemed odd to me that pedestrian streets like Cuba Mall have the same symbology as dirt tracks through the bush. There’s a field in the raw data that distinguishes “malls” from walkways, and if I get the chance I’d like to represent the difference visually. Are there any visual quirks or infelicities that you’d like us to take a look at?

We can’t guarantee that we’ll get every suggestion into the upcoming map release, but we’re keen to get your feedback on what would make our maps the best they can be.

Sphere: Related Content

Here’s an interesting definition:

Neogeography, as we see it, is a diverse set of practices that operate outside, or alongside, or in the manner of, the practices of professional geographers. Rather than making claims on scientific standards, methodologies of neogeography tend towards the intuitive, expressive, personal, absurd, and or artistic, but may just be idiosyncratic applications of “real” geographic techniques .

That resonates quite nicely with what we’re doing at ProjectX, especially with the community features of ZoomIn and some of the new features that we’re coming up with now. With my “urbanist hat” on, it reinforces for me the idea that a “place” is more than just a “space” or a set of coordinates: it’s about experience, memory and community.

Sphere: Related Content