Skip to content

Instantly share code, notes, and snippets.

View kpq's full-sized avatar

Kevin Quealy kpq

View GitHub Profile
@kpq
kpq / barley.tsv
Created September 30, 2015 21:14
Barley data: comparison circles
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 / index.html
Created March 6, 2018 02:04
A bad version of Anscombe's Quartet (Group 4)
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
svg {
border: 1px solid #ff00ff;
}
</style>
<body>
@kpq
kpq / README.md
Last active January 21, 2018 09:42
Data joins with gs and their children
@kpq
kpq / barley-v2.tsv
Created October 10, 2017 00:05
Barley at University Farm Example
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
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
Created May 10, 2017 19:59
For Nadav
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 22:40
Anscombe's quartet, Group II
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
body {
font: 10px arial sans;
}
h1 {
@kpq
kpq / README.md
Last active October 29, 2016 07:40
Dancing scatterplot

A short demo of scatterplots with animated transitions, based on this example from the New York Times.

@kpq
kpq / README.md
Created September 25, 2013 04:44
Line charts with dot annotation

Line charts with circles and labels. A demonstration of the technique for a student.

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