Skip to content

Instantly share code, notes, and snippets.

@mlalexander
mlalexander / data.csv
Last active August 29, 2015 14:17
Missouri college costs
Year type school loan enroll loanavg tuition
2014 2 Central Methodist University 14817004 1107 13385 32970
2013 2 Central Methodist University 14668635 1173 12505 32000
2010 1 University of Missouri _ Kansas City 101615207 9381 10832 20741
2012 2 Central Methodist University 12404690 1172 10584 30860
2014 3 Hickey College 3553167 372 9552 24784
2011 2 Central Methodist University 11187996 1176 9514 29680
2011 3 Hickey College 4166447 461 9038 26282
2013 3 Hickey College 3395336 396 8574 25409
2012 3 Hickey College 3754658 500 7509 24487
@mlalexander
mlalexander / index.html
Last active August 29, 2015 14:08
Stacked bar chart of earthquakes
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css"/>
<body>
<h1>A brief history of Oklahoma earthquakes</h1>
<script src="http://d3js.org/d3.v3.min.js"></script>
<div class="chart"></div>
<script>
var margin = {top: 15, right: 20, bottom: 30, left: 30},
@mlalexander
mlalexander / drugs.csv
Created October 22, 2014 18:13
Foster care psychoactive prescriptions
name value
Total children on psychoactive drugs 5568
ADHD 2649
Antianxiety 353
Antidepressant Antipsychotic Combo 2
Antidepressants SSRIs 3227
Antidepressants Tricyclics 207
Antipsychotics First Generation 373
Antipsychotics Second Generation 3185
Barbiturates 26
@mlalexander
mlalexander / data.csv
Last active August 29, 2015 14:07
Missouri budget grouped bars
year Total Restrictions Total at End of Year
2009 227.3 227.3
2010 401.8 401.8
2011 301.4 283.9
2012 113.3 53.4
2013 81.9 0
2014 437.7 53
2015 625 459.2