<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tech guy in midtown &#187; nodebox</title>
	<atom:link href="http://techguyinmidtown.com/tag/nodebox/feed/" rel="self" type="application/rss+xml" />
	<link>http://techguyinmidtown.com</link>
	<description>the notebook of a computer scientist living in midtown manhattan</description>
	<lastBuildDate>Mon, 12 Dec 2011 06:38:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='techguyinmidtown.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>tech guy in midtown &#187; nodebox</title>
		<link>http://techguyinmidtown.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://techguyinmidtown.com/osd.xml" title="tech guy in midtown" />
	<atom:link rel='hub' href='http://techguyinmidtown.com/?pushpress=hub'/>
		<item>
		<title>Scatter Map of Madoff&#8217;s Victims</title>
		<link>http://techguyinmidtown.com/2009/02/06/scatter-map-of-madoffs-victims/</link>
		<comments>http://techguyinmidtown.com/2009/02/06/scatter-map-of-madoffs-victims/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 23:03:28 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Random Thoughts]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[nodebox]]></category>
		<category><![CDATA[Ponzi]]></category>

		<guid isPermaLink="false">http://techguyinmidtown.com/?p=125</guid>
		<description><![CDATA[When I learned that the court had made a list of Madoff&#8217;s victims available, I immediately wanted to graph it.  I first forwarded the PDF one of my best friends.  Within a couple hours he had converted it to text, which he streamed through Yahoo Pipes to generate KML suitable for viewing with Google Maps.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techguyinmidtown.com&amp;blog=3566010&amp;post=125&amp;subd=techguyinmidtown&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I learned that the court had made a list of <a href="http://en.wikipedia.org/wiki/Bernard_Madoff">Madoff&#8217;s</a> victims available, I immediately wanted to graph it.  I first forwarded the PDF one of my best friends.  Within a couple hours he had converted it to text, which he streamed through <a href="http://pipes.yahoo.com/pipes/">Yahoo Pipes</a> to generate KML suitable for viewing with Google Maps.  The pipes filtered out duplicates, did address discovery and geolocation.  Unfortunately, Google Maps can&#8217;t display more than 80 markers at once, which is far less than the thousands of people whom Madoff ripped off.  He eventually did pull off a single view visualization, but it ran like a dog.</p>
<p>So last night I took a different approach.  I extracted out all of the zip codes from the list.  (Ignoring all of the international investors robbed by Madoff.)  Then I used <a href="http://geocoder.us">http://geocoder.us</a> to map each zip code to a latitude and longitude.  Next I wrote a short script in <a href="http://nodebox.net/code/index.php/Home">NodeBox</a> to draw a projection of the zip codes on a canvas.  Each point is color coded to indicate the number of times that zip code occurs in the court document.  I was helped a lot by code and ideas in <a href="http://benfry.com/">Ben Fry&#8217;s</a> <a href="http://www.amazon.com/exec/obidos/ASIN/0596514557/ref=nosim/benfrycom-20">Visualizing Data</a> book, which I have access to via Safari Bookshelf.  In particular, I stole his function for projecting out the latitude and longitude numbers.</p>
<p>Here are the resulting images.  The perfectionist in me would love to tinker with this for hours.</p>
<div id="attachment_135" class="wp-caption alignnone" style="width: 490px"><a href="http://img175.imageshack.us/img175/8661/usalargejn9.png"><img class="size-full wp-image-135" title="usa_large" src="http://techguyinmidtown.files.wordpress.com/2009/02/usa_large.png?w=480&#038;h=317" alt="scatter map of Madoff's victims in the NYC Metro area" width="480" height="317" /></a><p class="wp-caption-text">scatter map of Madoff&#39;s victims in the NYC Metro area</p></div>
<div id="attachment_128" class="wp-caption alignnone" style="width: 452px"><a href="http://img19.imageshack.us/img19/7393/nycmetrolargemv5.png"><img class="size-full wp-image-128" title="nyc_metro" src="http://techguyinmidtown.files.wordpress.com/2009/02/nyc_metro.png?w=480" alt="scatter map of Madoff's victims in NYC Metro area"   /></a><p class="wp-caption-text">scatter map of Madoff&#39;s victims in NYC Metro area</p></div>
<div id="attachment_129" class="wp-caption alignnone" style="width: 452px"><a href="http://img4.imageshack.us/img4/5584/newenglandlargebp7.png"><img class="size-full wp-image-129" title="new_england1" src="http://techguyinmidtown.files.wordpress.com/2009/02/new_england1.png?w=480" alt="scatter map of Madoff's victims in New England"   /></a><p class="wp-caption-text">scatter map of Madoff&#39;s victims in New England</p></div>
<div id="attachment_130" class="wp-caption alignnone" style="width: 320px"><a href="http://img7.imageshack.us/img7/8287/floridalargevz4.png"><img class="size-full wp-image-130" title="florida" src="http://techguyinmidtown.files.wordpress.com/2009/02/florida.png?w=480" alt="scatter map of Madoff's victims in Florida"   /></a><p class="wp-caption-text">scatter map of Madoff&#39;s victims in Florida</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techguyinmidtown.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techguyinmidtown.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techguyinmidtown.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techguyinmidtown.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techguyinmidtown.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techguyinmidtown.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techguyinmidtown.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techguyinmidtown.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techguyinmidtown.com&amp;blog=3566010&amp;post=125&amp;subd=techguyinmidtown&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techguyinmidtown.com/2009/02/06/scatter-map-of-madoffs-victims/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92ebb01dce9310ed1f6898975c14ea23?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Greg</media:title>
		</media:content>

		<media:content url="http://techguyinmidtown.files.wordpress.com/2009/02/usa_large.png" medium="image">
			<media:title type="html">usa_large</media:title>
		</media:content>

		<media:content url="http://techguyinmidtown.files.wordpress.com/2009/02/nyc_metro.png" medium="image">
			<media:title type="html">nyc_metro</media:title>
		</media:content>

		<media:content url="http://techguyinmidtown.files.wordpress.com/2009/02/new_england1.png" medium="image">
			<media:title type="html">new_england1</media:title>
		</media:content>

		<media:content url="http://techguyinmidtown.files.wordpress.com/2009/02/florida.png" medium="image">
			<media:title type="html">florida</media:title>
		</media:content>
	</item>
	</channel>
</rss>
