Skip to content

Instantly share code, notes, and snippets.

View vanhoesenj's full-sized avatar

John Van Hoesen vanhoesenj

View GitHub Profile
@vanhoesenj
vanhoesenj / README.md
Last active August 29, 2015 14:13 — forked from kgryte/README.md

Nightingale's Rose

D3.js visualization of the famous polar area diagram from Florence Nightingale's "A contribution to the sanitary history of the British army during the late war with Russia".

Two works served as the inspiration for this implementation:

A few comments. Bostock's implmentation, while visually similar to Nightingale's visualization, is wrong. First, the data is not correct. You can verify this in Nightingale's original work. Second, Bostock directly maps the wedge radius to deaths. This mistake is common. Instead, Nightingale represents deaths in terms of area, thus requiring the radius for each

@vanhoesenj
vanhoesenj / hexer_error
Created December 23, 2013 05:00
Hexer error
[ 84%] Built target hexerboost
make[2]: *** No rule to make target `/Users/vagrant/pisi-64bit/tmp/libgdal-1.9.0-3/usr/lib/libgdal.dylib', needed by `bin/libhexer.1.0.0.dylib'. Stop.
make[1]: *** [src/CMakeFiles/hexer.dir/all] Error 2
make: *** [all] Error 2
@vanhoesenj
vanhoesenj / index.html
Last active December 25, 2015 13:29
GSA - new
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>CartoDB + Time</title>
<link rel="shortcut icon" href="http://cartodb.com/favicon/favicon_32x32.ico" />
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
@vanhoesenj
vanhoesenj / index.html
Last active December 23, 2015 13:49
GSA Annual Meetings
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>GSA Annual Meetings</title>
<link rel="shortcut icon" href="http://cartodb.com/favicon/favicon_32x32.ico" />
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://dl.dropboxusercontent.com/u/4100236/Share/GSA-history/cartodb.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
@vanhoesenj
vanhoesenj / README.md
Last active December 21, 2015 01:19
GMC Animated Oxen Map

Animated Oxen Map

This map makes use of data derived from an online petition focusing on Green Mountain College's decision to slaughter two oxen in the fall of 2012. The data is stored in a CartoDB table and visualized using the Torque library - also from CartoDB.

Adding a temporal element to the data illustrates how quickly the petition 'spread' via social media not only within the United States but throughout the world. Most locations in the United States are concentrated in areas of high population density, predominantly urban and within counties characterized by high educational attainment, above the U.S. national average income and with ready access to supermarkets.