National Park Dorling Cartogram

Lately I’ve been doing a lot of work with data visualization and learning how to use the Protovis JavaScript library. Here is an example that I have been working on of a Dorling Cartogram. This Dorling Cartogram encodes the size of the national parks as the size of the circle; and the percentage of attendance as the circle’s color. The National Park data comes from The National Park Service Public Use Statistics Reports. It is based on the Dorling Cartogram example from the Protovis examples. The circles are roughly positioned based on the National Park’s geographic location. The attendance figures come from 2009, I hope to update the map once the data for 2010 is complete.


See the example here: National Park Dorling Cartogram
You can get the source code on github.


Using YUI Get Module for cross-domain JSON

Intro The Get Utility is one of the smaller YUI modules. Despite its size, how and when to use it can be quite complicated. It is used with css and javascript files to provide progressive loading of functionality and cross-site data retrieval. Progressive loading is a technique to load resources as they are needed on


New Garden Photos

The garden is looking great, I harvested the first potatoes this week. It looks like the squash are just a couple weeks away. A pretty little lady bug


Garden

Garden Originally uploaded by jam123 Early spring in the garden, its already getting crowded!


Refactoring with style

I’ve been using Checkstyles lately to enforce my Java code style. I choose checkstyles over the similar tools based on the Eclipse plug-in. I think that the eclipse plug-in is a great tool. It is easy to setup and doesn’t intrude on other activities. I was able to modify the defaults to match my coding


Incremental Improvements in Code

I think this post about “Beautiful code in the Real World” is really good. I can’t wait for the next installment. It is little overwhelming to look at undocumented, non-tested code and think about all the “best practices” being ignoring. At first I got stressed out every-time I thought of all the time it would


Programming Perspective

Recently, something clicked that changed my perspective on being a programmer. It was more an understanding of where I want to go than anything actually happening. I’ve always been good at programming. I put a lot of my effort into learning the flashy newest and latest, but not the non-sexy fundamentals. So, I grabbed some


Appfuse notes: Classpath stikes again!

I’ve been working through the AppFuse2 Spring MVC Basic tutorial. I’m afraid that its been slow going so far. A combination of new technology and little free time is making this take a lot longer than I thought. Tonight I ran into a classpath issue which I think was caused by an bug and my


Refreshing Your Java Fundamentals

Today I saw some code that made me think about Java fundamentals. I always see a lot written about java’s newest features and libraries, but the code in question involved two methods: one to sort a Vector, and the other method reversed the order. Without any other details a Java programmer should start thinking about


Naming Features

Robert Kaye has a great example of how to name a feature in his write up of Joshua Schachter presentation at ETech, Lessons Learned in Scaling and Building Social Systems. Joshua was talking about a feature for del.icio.us that allows users to keep bookmarks private. An important feature, but in contrast with the goal of