-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathch02-langren.Rmd
84 lines (65 loc) · 2.8 KB
/
ch02-langren.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
title: Chapter 2
output: distill::distill_article
---
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<style>
.zoomDiv {
opacity: 0;
position: fixed;
top: 50%;
left: 50%;
z-index: 50;
transform: translate(-50%, -50%);
box-shadow: 10px 10px 50px #888888;
max-height:100%;
}
.zoomImg {
width: 100%;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
$('body').prepend("<div class=\"zoomDiv\"><img src=\"\" class=\"zoomImg\"></div>");
// onClick function for all plots (img's)
$('img:not(.zoomImg)').click(function() {
$('.zoomImg').attr('src', $(this).attr('src'));
$('.zoomDiv').css({opacity: '1', width: '55%'});
});
// onClick function for zoomImg
$('img.zoomImg').click(function() {
$('.zoomDiv').css({opacity: '0', width: '0%'});
});
});
</script>
```{r setup, echo=FALSE, warning=FALSE, message=FALSE}
knitr::opts_chunk$set(R.options = list(width = 150))
library(knitr)
source("R/chapter_figs.R")
```
# The First Graph Got It Right <img src="images/cartoons/langren.png" align="right" height="100px" />
<div class="chapterintro"><div class="chapterprelude">
#### Synopsis {-}
Who invented the idea of graphing data? This question is meant to be provocative and contentious. It is provocative, because you
might wonder or argue about what "graphing data" actually means.
* what counts as "data"?
* what counts as a "graph"?
It is contentious, because like many other scientific discoveries and inventions, claims of "firsts" are difficult to pin down: many important discoveries were preceded by others that might count under a looser definition; conversely, those who followed often developed the same idea in wider or more general ways.
This chapter begins our journey through the history of data visualization with the story and context of what can be claimed as the earliest example of modern graphic depictions of statistical data.
A fundamental and difficult problem in the 17th century was determination of longitude at sea. A variety of methods were tried, but none were very accurate. To demonstrate the problem (and seek patronage from King Philip of Spain), Michael Florent van Langren had the idea to make a graph of historical determinations of the longitude distance from Toledo to Rome, in what is arguably the first graph of statistical data. This chapter shows why this was exactly the right thing to do.
</div>
<div class="chaptercontents">
### Chapter contents
* Early Things Called "graphs"
* The Problem of Longitude
* Show Me the Money
* Van Langren's Graph
+ Patronage and Grantsmanship
+ Eyes on the Prize
+ The "Secret" of Longitude
+ Van Langren's Legacy
</div></div>
## Selected Figures
```{r results="asis", echo=FALSE, message=FALSE, warning=FALSE}
do_chapter(2)
```