Skip to content

Instantly share code, notes, and snippets.

@zellyn
Created October 5, 2012 04:41
Show Gist options
  • Save zellyn/3838143 to your computer and use it in GitHub Desktop.
Save zellyn/3838143 to your computer and use it in GitHub Desktop.
just another inlet to tributary

No parent Inlet

{"editor_editor":{"coffee":false,"vim":false,"emacs":false,"width":600,"height":300,"hide":false},"endpoint":"tributary","public":true}
var data = [
{
"state": "Maryland",
"2011": 70004,
"2009": 69272,
"2008": 70545,
"2007": 68080,
"2004": 62372
},
{
"state": "Alaska",
"2011": 67825,
"2009": 68342,
"2008": 70378,
"2007": 67035,
"2004": 64169
},
{
"state": "New Jersey",
"2011": 67458,
"2009": 67034,
"2008": 68595,
"2007": 65967,
"2004": 59972
},
{
"state": "Connecticut",
"2011": 65753,
"2009": 66953,
"2008": 68460,
"2007": 64333,
"2004": 57639
},
{
"state": "Massachusetts",
"2011": 62859,
"2009": 64081,
"2008": 65401,
"2007": 62365,
"2004": 56236
},
{
"state": "New Hampshire",
"2011": 62647,
"2009": 60567,
"2008": 63731,
"2007": 62369,
"2004": 60489
},
{
"state": "Virginia",
"2011": 61882,
"2009": 59330,
"2008": 61233,
"2007": 59562,
"2004": 55108
},
{
"state": "Hawaii",
"2011": 61821,
"2009": 59290,
"2008": 57936,
"2007": 54317,
"2004": 47221
},
{
"state": "Delaware",
"2011": 58814,
"2009": 58931,
"2008": 61021,
"2007": 59948,
"2004": 53770
},
{
"state": "California",
"2011": 57287,
"2009": 56860,
"2008": 57989,
"2007": 54610,
"2004": 52214
},
{
"state": "Minnesota",
"2011": 56954,
"2009": 56548,
"2008": 58078,
"2007": 55591,
"2004": 53439
},
{
"state": "Washington",
"2011": 56835,
"2009": 55616,
"2008": 57288,
"2007": 55082,
"2004": 57363
},
{
"state": "Wyoming",
"2011": 56322,
"2009": 55430,
"2008": 56993,
"2007": 55212,
"2004": 54039
},
{
"state": "Utah",
"2011": 55869,
"2009": 55117,
"2008": 56633,
"2007": 55109,
"2004": 55179
},
{
"state": "Colorado",
"2011": 55387,
"2009": 54659,
"2008": 56033,
"2007": 53514,
"2004": 48201
},
{
"state": "New York",
"2011": 55246,
"2009": 54119,
"2008": 55701,
"2007": 53568,
"2004": 52003
},
{
"state": "Rhode Island",
"2011": 53636,
"2009": 53966,
"2008": 56235,
"2007": 54124,
"2004": 49280
},
{
"state": "Illinois",
"2011": 53234,
"2009": 53341,
"2008": 56361,
"2007": 55062,
"2004": 50819
},
{
"state": "Vermont",
"2011": 52776,
"2009": 52664,
"2008": 53207,
"2007": 51731,
"2004": 47227
},
{
"state": "North Dakota",
"2011": 51704,
"2009": 51618,
"2008": 52104,
"2007": 49907,
"2004": 51622
},
{
"state": "Wisconsin",
"2011": 50395,
"2009": 49993,
"2008": 52094,
"2007": 50578,
"2004": 48874
},
{
"state": "Nebraska",
"2011": 50296,
"2009": 49520,
"2008": 50713,
"2007": 48576,
"2004": 47791
},
{
"state": "Pennsylvania",
"2011": 50228,
"2009": 48745,
"2008": 50958,
"2007": 49889,
"2004": 46729
},
{
"state": "Iowa",
"2011": 49427,
"2009": 48457,
"2008": 50169,
"2007": 48730,
"2004": 45485
},
{
"state": "Texas",
"2011": 49392,
"2009": 48259,
"2008": 50043,
"2007": 47548,
"2004": 43425
},
{
"state": "Kansas",
"2011": 48964,
"2009": 48044,
"2008": 48980,
"2007": 47292,
"2004": 47489
},
{
"state": "Nevada",
"2011": 48927,
"2009": 47827,
"2008": 45685,
"2007": 43753,
"2004": 43753
},
{
"state": "South Dakota",
"2011": 48321,
"2009": 47817,
"2008": 50177,
"2007": 47451,
"2004": 44264
},
{
"state": "Oregon",
"2011": 46816,
"2009": 47590,
"2008": 50861,
"2007": 49136,
"2004": 46841
},
{
"state": "Arizona",
"2011": 46709,
"2009": 47357,
"2008": 49693,
"2007": 47085,
"2004": 48126
},
{
"state": "Indiana",
"2011": 46438,
"2009": 45734,
"2008": 46581,
"2007": 45888,
"2004": 45040
},
{
"state": "Maine",
"2011": 46033,
"2009": 45424,
"2008": 47966,
"2007": 47448,
"2004": 44806
},
{
"state": "Georgia",
"2011": 46007,
"2009": 45395,
"2008": 47988,
"2007": 46597,
"2004": 45837
},
{
"state": "Michigan",
"2011": 45981,
"2009": 45255,
"2008": 48591,
"2007": 47950,
"2004": 47064
},
{
"state": "Ohio",
"2011": 45749,
"2009": 45229,
"2008": 46867,
"2007": 45114,
"2004": 44651
},
{
"state": "Missouri",
"2011": 45247,
"2009": 45043,
"2008": 46032,
"2007": 43424,
"2004": 44624
},
{
"state": "Florida",
"2011": 44299,
"2009": 44926,
"2008": 47576,
"2007": 46253,
"2004": 46395
},
{
"state": "Montana",
"2011": 44222,
"2009": 44736,
"2008": 47778,
"2007": 47804,
"2004": 44448
},
{
"state": "North Carolina",
"2011": 43916,
"2009": 43674,
"2008": 46549,
"2007": 44670,
"2004": 42061
},
{
"state": "Idaho",
"2011": 43341,
"2009": 43028,
"2008": 43508,
"2007": 41452,
"2004": 40827
},
{
"state": "Oklahoma",
"2011": 43225,
"2009": 42492,
"2008": 43733,
"2007": 40926,
"2004": 37943
},
{
"state": "South Carolina",
"2011": 42367,
"2009": 42442,
"2008": 44625,
"2007": 43329,
"2004": 40822
},
{
"state": "New Mexico",
"2011": 41963,
"2009": 42322,
"2008": 43654,
"2007": 43531,
"2004": 38629
},
{
"state": "Louisiana",
"2011": 41734,
"2009": 41725,
"2008": 43614,
"2007": 42367,
"2004": 40676
},
{
"state": "Tennessee",
"2011": 41693,
"2009": 41664,
"2008": 42822,
"2007": 41567,
"2004": 40001
},
{
"state": "Alabama",
"2011": 41415,
"2009": 40489,
"2008": 42666,
"2007": 40554,
"2004": 38473
},
{
"state": "Kentucky",
"2011": 41141,
"2009": 40072,
"2008": 41538,
"2007": 40267,
"2004": 38466
},
{
"state": "Arkansas",
"2011": 38758,
"2009": 37823,
"2008": 38815,
"2007": 38134,
"2004": 37420
},
{
"state": "West Virginia",
"2011": 38482,
"2009": 37435,
"2008": 37989,
"2007": 37060,
"2004": 37227
},
{
"state": "Mississippi",
"2011": 36919,
"2009": 36646,
"2008": 37790,
"2007": 36338,
"2004": 35261
}
];
var svg = d3.select("svg");
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="tributary_svg" width="1680" height="947"></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment