Earlier this year I posted about this interesting interactive map that visualized residents’ migration based on tax-return data. Selecting counties highlights inflow and outflow migration of residents. This one shows D.C., where I moved last spring:
The map creator, Jon Bruner, a journalist at Forbes, recently released a much-improved version of the map. It’s better for a number of reasons. It incorporates a longer time period. The colors also are more elegant. And he’s added the ability to search and turn migration lines off while still coloring relevant counties.
The biggest change, though, is that the map is now built with open-source tools, not Flash. Bruner explains in a post:
I built the map using nothing but open-source software, from Python and MySQL to handle the data right down to JavaScript to display the map. I’ve been steadily moving much of my data handling to Python and MySQL, but this is the first map I’ve made using JavaScript, and interactive JS maps are still rare elsewhere, too.
Bruner goes on to explain how he used Raphael JS library to get around some incompatibility issues in Internet Explorer 7 and 8.
Here’s a view of D.C. with lines (red represents majority outward migration; green represents majority inward migration; gray represents no migration to or from D.C.):
Here’s the view without lines:
Nice work, Jon.