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 / index.html
Last active May 2, 2019 08:16
Jobs Growth Under Obama
<!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 / 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 October 23, 2019 22:46
Modern Lib. 100 — Unstyled
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 / 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 / books_authors.tsv
Last active October 23, 2019 22:45
Modern Lib. 100 — Final
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 17 columns, instead of 7. 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 DIFF
73 The Day of the Locust Nathanael West 1903 1940 37 north america united states new york male 1939 36 1931 28 157 39626 0
88 The Call of the Wild Jack London 1876 1916 40 north america united states san francisco male 1903 27 1900 24 1027 263001 0
2 The Great Gatsby F. Scott Fitzgerald 1896 1940 44 north america united states Saint Paul male 1925 29 1920 24 3226 4327393 0
28 Tender Is the Night F. Scott Fitzgerald 1896 1940 44 north america united states Saint Paul male 1934 38 1920 24 179 143146 9
9 Sons and Lovers D. H. Lawrence 1885 1930 45 europe United Kingdom eastwood male 1913 28 1911 26 155 116782 0
48 The Rainbow D. H. Lawrence 1885 1930 45 europe United Kingdom eastwood male 1915 30 1911 26 72 43055 2
49 Women in Love D. H. Lawrence 1885 1930 45 europe United Kingdom eastwood male 1920 35 1911 26 142 80018 5
31 Animal Farm George Orwell 1903 1950 47 as
@kcsluis
kcsluis / index.html
Last active October 23, 2019 22:46
Inline Demographic Split
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
/* svg {
border: 1px solid #f0f;
}*/
body {
font-family: 'Georgia', serif;
font-size: 16px;
@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;