Skip to content

Instantly share code, notes, and snippets.

@asuozzo
asuozzo / VTSalaryData20092014.csv
Last active August 31, 2015 18:10
Vt. State Salary Data, 2009-2014 (from data.vermont.gov)
Agency 2009 2010 2011 2012 2013 2014
Administration 517082.41 444531.98 420472.7 552826.66 551458.18 2478554.18
Agriculture 5252889.2 4921034.6 4887326.59 4734889.24 5364325.41 5809201.23
AttorneyGeneral 4546406.16 4568744.45 4669888.88 4769927.11 5085669.7 5264829.65
Auditor 954234.26 988680.96 1046529.54 1032706.41 1081290.45 1137847.9
BuildingsandGeneralServices 17354008.95 15854477.67 16008714.91 15182672.76 15691697.22 14577891.55
HouseClerk 241282.05 245943.77 262990.61 267954.22 291607.77 289839.36
Commerce 5472059.97 4875442.9 4906046.75 4640734.92 5060504.03 5717673.8
Corrections 55786501.56 53891477.24 54002007.3 52255815.88 56399508.6 57978276.23
CourtAdministratorJudicial 18786732.71 18464358.16 19489262.56 19132129.05 20270036.51 20536677.26
@asuozzo
asuozzo / VTSalaryData20092014.csv
Last active September 4, 2015 01:31
d3+blocks
Administration 517082.41 444531.98 420472.7 552826.66 551458.18 2478554.18
Agriculture 5252889.2 4921034.6 4887326.59 4734889.24 5364325.41 5809201.23
AttorneyGeneral 4546406.16 4568744.45 4669888.88 4769927.11 5085669.7 5264829.65
Auditor 954234.26 988680.96 1046529.54 1032706.41 1081290.45 1137847.9
BuildingsandGeneralServices 17354008.95 15854477.67 16008714.91 15182672.76 15691697.22 14577891.55
HouseClerk 241282.05 245943.77 262990.61 267954.22 291607.77 289839.36
Commerce 5472059.97 4875442.9 4906046.75 4640734.92 5060504.03 5717673.8
Corrections 55786501.56 53891477.24 54002007.3 52255815.88 56399508.6 57978276.23
CourtAdministratorJudicial 18786732.71 18464358.16 19489262.56 19132129.05 20270036.51 20536677.26
@asuozzo
asuozzo / VTSalaryData20092014.csv
Last active September 4, 2015 01:32
D3 Bar Chart
Agency nine ten eleven twelve thirteen fourteen
Administration 517082.41 444531.98 420472.7 552826.66 551458.18 2478554.18
Agriculture 5252889.2 4921034.6 4887326.59 4734889.24 5364325.41 5809201.23
AttorneyGeneral 4546406.16 4568744.45 4669888.88 4769927.11 5085669.7 5264829.65
Auditor 954234.26 988680.96 1046529.54 1032706.41 1081290.45 1137847.9
BuildingsandGeneralServices 17354008.95 15854477.67 16008714.91 15182672.76 15691697.22 14577891.55
HouseClerk 241282.05 245943.77 262990.61 267954.22 291607.77 289839.36
Commerce 5472059.97 4875442.9 4906046.75 4640734.92 5060504.03 5717673.8
Corrections 55786501.56 53891477.24 54002007.3 52255815.88 56399508.6 57978276.23
CourtAdministratorJudicial 18786732.71 18464358.16 19489262.56 19132129.05 20270036.51 20536677.26
@asuozzo
asuozzo / VTSalaryData20092014.csv
Last active September 13, 2015 18:57
D3 bar chart with axes
Department y2009 y2010 y2011 y2012 y2013 y2014
Administration 517082.41 444531.98 420472.7 552826.66 551458.18 2478554.18
Agriculture 5252889.2 4921034.6 4887326.59 4734889.24 5364325.41 5809201.23
Attorney General 4546406.16 4568744.45 4669888.88 4769927.11 5085669.7 5264829.65
Auditor 954234.26 988680.96 1046529.54 1032706.41 1081290.45 1137847.9
Buildings & Gen. Services 17354008.95 15854477.67 16008714.91 15182672.76 15691697.22 14577891.55
House Clerk 241282.05 245943.77 262990.61 267954.22 291607.77 289839.36
Commerce 5472059.97 4875442.9 4906046.75 4640734.92 5060504.03 5717673.8
Corrections 55786501.56 53891477.24 54002007.3 52255815.88 56399508.6 57978276.23
Court Administrator 18786732.71 18464358.16 19489262.56 19132129.05 20270036.51 20536677.26
@asuozzo
asuozzo / VTSalaryData20092014.csv
Last active October 6, 2015 23:17
D3 Scatterplot with Transition
Administration 517082.41 444531.98 420472.7 552826.66 551458.18 2478554.18
Agriculture 5252889.2 4921034.6 4887326.59 4734889.24 5364325.41 5809201.23
Attorney General 4546406.16 4568744.45 4669888.88 4769927.11 5085669.7 5264829.65
Auditor 954234.26 988680.96 1046529.54 1032706.41 1081290.45 1137847.9
Buildings & Gen. Services 17354008.95 15854477.67 16008714.91 15182672.76 15691697.22 14577891.55
House Clerk 241282.05 245943.77 262990.61 267954.22 291607.77 289839.36
Commerce 5472059.97 4875442.9 4906046.75 4640734.92 5060504.03 5717673.8
Corrections 55786501.56 53891477.24 54002007.3 52255815.88 56399508.6 57978276.23
Court Administrator 18786732.71 18464358.16 19489262.56 19132129.05 20270036.51 20536677.26
@asuozzo
asuozzo / VTSalaryDataTop520092014.csv
Last active September 28, 2015 00:36
D3 line chart, multiple lines with time-based data
Department 2009 2010 2011 2012 2013 2014
Health 26772556.93 24741532.31 24586302.43 23595120.06 26238288.05 28019450.68
Public Safety 39462489.05 39395985.78 39315973.1 39171236.03 41707129.4 43903473.67
Corrections 55786501.56 53891477.24 54002007.3 52255815.88 56399508.6 57978276.23
Children & Families 52190960.86 51911733.07 52547090.85 49499461.16 54475730.34 59213987.59
Transportation 62825173.63 63433624.13 64816878.55 64055953.68 67411747.78 70938509.06
@asuozzo
asuozzo / index.html
Last active November 23, 2015 16:49
Books per Capita at Vermont Public Libraries
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="$1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Books per Capita at Vermont Libraries</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
@asuozzo
asuozzo / index.html
Last active November 23, 2015 16:43
US Regional Milk Production
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>U.S. Regional Milk Production, 1970-2014</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
<style type="text/css">
body {
margin: 0;
@asuozzo
asuozzo / index.html
Last active November 21, 2015 01:11
d3 map of the USA
<!DOCTYPE html>
<meta charset="utf-8">
<title>USA Map</title>
<style>
body {
margin: 0;
background-color: rgb(0, 9, 129);
font-family: serif;
}
@asuozzo
asuozzo / dairyproduction2014.csv
Last active November 25, 2015 02:53
U.S. Dairy Production by State, 2014
State milPounds
California 42337
Wisconsin 27795
Idaho 13873
New York 13733
Pennsylvania 10683
Texas 10310
Michigan 9609
Minnesota 9127
New Mexico 8105