Skip to content

Instantly share code, notes, and snippets.

@kcsluis
kcsluis / index.html
Last active August 29, 2015 14:23
Anscombe's Quartet
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
body {
font-family: Arial, sans-serif;
font-size: 9px;
fill: #aaa;
max-width: 960px;
margin: 20px auto;
@kcsluis
kcsluis / barley.tsv
Last active August 29, 2015 14:24
Barley
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
@kcsluis
kcsluis / books_authors.tsv
Last active August 29, 2015 14:24
Modern Lib. 100 — Scatter Plot Sketches
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 16 columns, instead of 11. in line 8.
RANKING BOOK AUTHOR BORN DIED LIFESPAN CONTINENT NATION CITY GENDER YEAR_BOOK AGE_BOOK FIRST_NOVEL AGE_FIRST_NOVEL EDITORS_WIKI WIKIPEDIA_VIEWS
2 The Great Gatsby F. Scott Fitzgerald 1896 1940 44 north america united states Saint Paul male 1925 29 1920 24 3226 4327393
13 1984 (Nineteen Eighty-Four) George Orwell 1903 1950 47 asia india motihari male 1949 46 1934 31 3942 1539741
64 The Catcher in the Rye J. D. Salinger 1919 2010 91 north america united states new york male 1951 32 1951 32 4037 1191849
31 Animal Farm George Orwell 1903 1950 47 asia india motihari male 1945 42 1934 31 3170 1130155
4 Lolita Vladimir Nabokov 1899 1977 78 asia russia st. petersburg male 1955 56 1926 27 1342 1018117
55 On the Road Jack Kerouac 1922 1969 47 north america united states lowell (massachussetts) male 1957 35 1950 28 714 929722
5 Brave New World Aldous Huxley 1894 1963 69 europe United Kingdom godalming male 1932 38 1921 27 2335 909298
41 Lord of the Flies William Golding 1911 1993 82 europe United Kingdom newquay male 19
@kcsluis
kcsluis / incomes.tsv
Last active August 29, 2015 14:26
Incomes and Countries
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
@kcsluis
kcsluis / index.html
Last active August 29, 2015 14:26
NYC Shops, Bar Charts
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/* svg {
border: 1px solid #f0f;
}*/
body {
font-family: 'arial', sans-serif;
font-size: 9px;
@kcsluis
kcsluis / index.html
Created July 28, 2015 19:49
NYC Eats, Bar Charts
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/* svg {
border: 1px solid #f0f;
}*/
body {
font-family: 'arial', sans-serif;
font-size: 9px;
@kcsluis
kcsluis / index.html
Created September 12, 2015 00:14
Basic HTML
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
/*css*/
</style>
@kcsluis
kcsluis / index.html
Created September 12, 2015 00:20
Buttons, Dropdowns
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
/*css*/
</style>
@kcsluis
kcsluis / barley.tsv
Created September 12, 2015 00:21
Data Manipulation
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
@kcsluis
kcsluis / guns_history.csv
Created September 12, 2015 00:23
Dot Map
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