Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin Quealy kpq

View GitHub Profile
@kpq
kpq / index.html
Created Mar 6, 2018
A bad version of Anscombe's Quartet (Group 4)
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
svg {
border: 1px solid #ff00ff;
}
</style>
<body>
@kpq
kpq / barley-v2.tsv
Created Oct 10, 2017
Barley at University Farm Example
View barley-v2.tsv
variety site y1931 y1932
Glabron Crookston 38.13333 26.16667
Manchuria Crookston 39.93333 32.96667
No. 457 Crookston 45.66667 34.33333
No. 462 Crookston 48.56666 30.53333
No. 475 Crookston 44.1 32.13333
Peatland Crookston 41.6 25.23333
Svansota Crookston 40.46667 20.63333
Trebi Crookston 46.93333 41.83333
Velvet Crookston 41.33333 32.06666
View barley.tsv
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
View barley.tsv
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
@kpq
kpq / index.html
Created May 8, 2017
Anscombe's quartet, Group II
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
body {
font: 10px arial sans;
}
h1 {
View incomes.csv
val cutoff year country
6910 cop5 1981 Australia
6864 cop5 1985 Australia
6555 cop5 1989 Australia
6551 cop5 1995 Australia
7002 cop5 2001 Australia
7090 cop5 2003 Australia
8818 cop5 1987 Austria
8744 cop5 1994 Austria
5813 cop5 1995 Austria
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/*css to go here*/
svg {
border: 1px solid #f0f;
}
circle {
View guns-history.csv
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
@kpq
kpq / barley.tsv
Created Feb 1, 2016
NYC barley - Morris
View barley.tsv
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
@kpq
kpq / barley.tsv
Last active Jan 31, 2016
Barley Yields -- Crookston
View barley.tsv
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
You can’t perform that action at this time.