Skip to content

Instantly share code, notes, and snippets.

View mph006's full-sized avatar

Matt Herman mph006

View GitHub Profile
@mph006
mph006 / index.html
Created June 24, 2015 01:38
Basic exercise with one data set of Anscombe's Quartet
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/*css goes here*/
.header{
text-align: center;
font-weight: bold;
border-bottom: thin solid black;
margin-left: 100px;
@mph006
mph006 / index.html
Last active August 29, 2015 14:24
Nonfarm employment change
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/*css goes here*/
.header{
text-align: center;
font-weight: bold;
border-bottom: thin solid black;
margin-left: 100px;
@mph006
mph006 / data.tsv
Created July 8, 2015 00:41
Barley Farming 1931-1932
yield variety year site
27 Manchuria 1931 University Farm
48.86667 Manchuria 1931 Waseca
27.43334 Manchuria 1931 Morris
39.93333 Manchuria 1931 Crookston
32.96667 Manchuria 1931 Grand Rapids
28.96667 Manchuria 1931 Duluth
43.06666 Glabron 1931 University Farm
55.2 Glabron 1931 Waseca
28.76667 Glabron 1931 Morris
@mph006
mph006 / allCountries.tsv
Created July 8, 2015 13:44
Change In Median Income Per Country (1975-2010)
dataset cop5 cop10 cop20 cop30 cop40 cop50 cop60 cop70 cop80 cop90 cop95
LIS - Australia 1981 6,910 8,290 10,900 13,232 15,207 17,427 19,965 23,055 26,945 32,439 37,458
LIS - Australia 1985 6,864 8,222 10,534 12,838 14,984 17,389 20,013 22,838 26,724 32,491 38,118
LIS - Australia 1989 6,555 8,190 10,714 12,931 15,138 17,559 20,412 23,613 27,692 33,881 39,931
LIS - Australia 1995 6,551 7,776 9,569 11,541 13,660 16,167 18,911 21,923 25,849 31,291 37,390
LIS - Australia 2001 7,002 8,474 10,499 12,870 15,252 18,113 21,229 24,532 28,688 35,978 42,543
LIS - Australia 2003 7,090 8,583 10,916 13,247 15,823 18,358 21,573 25,059 29,607 36,399 42,960
LIS - Austria 1987 8,818 11,154 13,814 16,036 18,019 19,815 21,842 24,269 27,302 32,176 36,895
LIS - Austria 1994 8,744 11,032 14,414 16,830 18,950 21,226 23,839 27,461 31,145 38,340 45,645
LIS - Austria 1995 5,813 8,961 11,942 14,097 16,390 18,631 20,942 24,030 27,792 33,432 38,777
@mph006
mph006 / index.html
Last active August 29, 2015 14:24
Anscombe's Quartet (Transitions)
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
body {
font-family: arial, sans;
font-size: 13px;
margin: 10px auto;
width:1220px;
@mph006
mph006 / index.html
Last active August 29, 2015 14:24
Anscombe's Quartet Visualized
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
body {
font-family: arial, sans;
font-size: 11px;
margin: 10px auto;
width:1220px;
@mph006
mph006 / data.js
Last active March 7, 2016 15:53
Radar Chart - Axis Addition/Removal
var d = [
{
name:"John Doe",
color:"#d62728",
skills:[
{axis:"Node",value:0},
{axis:"D3",value:0},
{axis:"Javascript",value:0},
{axis:"HTML",value:0},
{axis:"CSS",value:0},
@mph006
mph006 / data.js
Last active March 8, 2016 01:49
Radar Chart - Update Values
var d = [
{
name:"Data Set",
color:"#d62728",
skills:[
{axis:"Node",value:1},
{axis:"D3",value:1},
{axis:"Javascript",value:2},
{axis:"HTML",value:3},
@mph006
mph006 / guns-history.csv
Last active August 24, 2016 16:40
Chicago Gun Origins - Choropleth
st county STATE composite fipstxt FIPS count3
AK Aleutians East Alaska ak_aleutians east 02013 2013 0
AK Aleutians West Alaska ak_aleutians west 02016 2016 0
AK Anchorage Alaska ak_anchorage 02020 2020 19
AK Bethel Alaska ak_bethel 02050 2050 1
AK Bristol Bay Alaska ak_bristol bay 02060 2060 0
AK Denali Alaska ak_denali 02068 2068 0
AK Dillingham Alaska ak_dillingham 02070 2070 0
AK Fairbanks North Star Alaska ak_fairbanks north star 02090 2090 4
AK Haines Alaska ak_haines 02100 2100 0
@mph006
mph006 / guns-history.csv
Last active August 24, 2016 16:40
Chicago Gun Origins - Bubble Chart
AK Aleutians East Alaska ak_aleutians east 02013 2013 0
AK Aleutians West Alaska ak_aleutians west 02016 2016 0
AK Anchorage Alaska ak_anchorage 02020 2020 19
AK Bethel Alaska ak_bethel 02050 2050 1
AK Bristol Bay Alaska ak_bristol bay 02060 2060 0
AK Denali Alaska ak_denali 02068 2068 0
AK Dillingham Alaska ak_dillingham 02070 2070 0
AK Fairbanks North Star Alaska ak_fairbanks north star 02090 2090 4
AK Haines Alaska ak_haines 02100 2100 0