Election '08

November 08



This year’s cartograms are in, for a nice compromise between an electoral map, which is distorted by things like a 3,589 square mile county with less than 700 inhabitants, and a big board, which suffers from looking like a really shitty math assignment.

That being said, I expect Clark’s Last Biscuit and Non-Prophet to geek out with me on his methodology:

The calculation of the cartograms involves allowing the population to diffuse in the two-dimensional space of the map, carrying the boundaries of the states or counties with it, until it reaches a uniform equilibrium. The diffusion equation is integrated in Fourier space, where it takes a particularly simple form: the initial density function is evaluated on a 4608×3072 lattice, transformed using a two-dimensional fast Fourier transform, convolved with a Gaussian kernel and then back-transformed to give the diffusion field at an arbitrary later time. I used closed (Neumann) boundary conditions at the edges of the map, meaning that the Fourier transform in this case is a discrete cosine transform.

The diffusion field is then used to calculate the diffusion velocity as a function of position and the velocity integrated over time to give the displacement of the map features. The integration is performed using a fourth-order Runge-Kutta integrator with an adaptive step size and local extrapolation.

Posted by: Andrew Hutchison in Election '08 | Permalink

Comments

7 Responses to “Data porn”

  1. Clark's Last Biscuit on November 6th, 2008 9:41 pm

    Schweet. I always think this stuff is pretty cool.

    Am I supposed to say some nerd stuff now? How about: “Neumann? Real men use Dirichlet, pussy.”

  2. andrew on November 6th, 2008 9:59 pm

    You could say that, but I think it would be kind of abrupt.

  3. Clark's Last Biscuit on November 6th, 2008 10:34 pm

    Wow. I bow to your nerd comeback.

    People might need some explanation of what just went down there.

  4. K2 on November 7th, 2008 5:16 pm

    If you wanna see a cartographic geek-fest, you should check out the book, Atlas of the Real World .

    It’s amazing.

  5. Dustin on November 10th, 2008 9:35 pm

    I guess we know where they found the Southland Tales image:
    http://www.impawards.com/2007/posters/southland_tales_ver2.jpg

  6. Dustin on November 10th, 2008 9:35 pm

    Now we just wait for the nuclear attack.

  7. Dustin on November 10th, 2008 10:54 pm

Leave a Reply







  • Recent Comments

    • Fr. Armstrong Dell Fund
    • NEWSPEAK Blog: COS Prog Blogs
    • NEWSPEAK Blog: CultureCast
    • Newspeak Flickr