Mapping Migration, Pt. 2

By Matt Stiles | | Topics: Uncategorized

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. 

D.C. Bound

By Matt Stiles | | Topics: Uncategorized

My wife and I are moving to Washington, D.C., in the coming weeks. She’ll be working for NPR, and I’m staying in my current job working remotely. Our move got me thinking about this fabulous migration map created last year by Jon Bruner, an editor at Forbes who works interactive projects.

Click the image to play with the map, which uses IRS returns data to determine inward and outward population flow in every U.S. county. Very sweet:

Bruner explains his process here.