{"id":154,"date":"2010-08-23T17:02:47","date_gmt":"2010-08-23T23:02:47","guid":{"rendered":"http:\/\/www.crccheck.com\/blog\/?p=154"},"modified":"2015-10-11T22:29:04","modified_gmt":"2015-10-12T04:29:04","slug":"weekend-hack","status":"publish","type":"post","link":"https:\/\/www.crccheck.com\/blog\/weekend-hack\/","title":{"rendered":"Weekend Hack"},"content":{"rendered":"<p>A few days ago, I learned about a map visualization libary called Polymaps from FlowingData (<a href=\"http:\/\/flowingdata.com\/2010\/08\/20\/design-advanced-online-and-interactive-maps-with-polymaps\/\" target=\"_blank\">Design advanced online and interactive maps with Polymaps<\/a>). This weekend, I resolved to play with it and come up with something useful.<\/p>\n<p>The Texas Tribune has a neat Flash based map of <a href=\"http:\/\/www.texastribune.org\/library\/data\/texas-statewide-general-election-turnout\/\" target=\"_blank\">county-by-county election turnouts<\/a>. My goal for this weekend&#8230; make a Polymaps version. My version can be found here: <a href=\"http:\/\/crccheck.com\/map\/\">http:\/\/crccheck.com\/map\/<\/a>.<\/p>\n<p>The data source I found for counties didn&#8217;t let me limit it to just Texas, so a lot of counties outside Texas end up getting colored. The data source for the election data is from the Texas Tribune, and the only processing I had to do with it is to change the case to make it consistent with my other data source. I guess I could have just made it case-insensitive too.<\/p>\n<p>Chrome renders the map much better than FireFox. It supports the SVG title element and takes less CPU.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few days ago, I learned about a map visualization libary called Polymaps from FlowingData (Design advanced online and interactive maps with Polymaps). This weekend, I resolved to play with it and come up with something useful. The Texas Tribune has a neat Flash based map of county-by-county election turnouts. My goal for this weekend&#8230;&hellip;<\/p>\n <a href=\"https:\/\/www.crccheck.com\/blog\/weekend-hack\/\" title=\"Weekend Hack\" class=\"entry-more-link\"><span>Read More<\/span> <span class=\"screen-reader-text\">Weekend Hack<\/span><\/a>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[4],"tags":[],"class_list":["entry","author-showmewhatyougot","post-154","post","type-post","status-publish","format-standard","category-technical"],"_links":{"self":[{"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/posts\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":4,"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/posts\/154\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.crccheck.com\/blog\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}