-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·144 lines (115 loc) · 4.09 KB
/
index.html
File metadata and controls
executable file
·144 lines (115 loc) · 4.09 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!-- http://chimera.labs.oreilly.com/books/1230000000345/ch06.html#_data_driven_shapes -->
<!-- python -m SimpleHTTPServer 8887 -->
<!-- http://localhost:8887/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Last Statements</title>
<script type="text/javascript" src="d3/d3.js"></script>
<style>
body {
margin-left: 130px;
font-family: sans-serif;
margin-right: 130px;
}
h1 {
font-family: sans-serif;
color: black;
margin-bottom: 10px;
}
#menu {
margin-top: 0;
}
a {
text-decoration: none;
font-weight: 700;
color: black;
}
a:visited {
color:black;
}
a:hover {
color: red;
}
div.vis {
display: block;
float:left;
position: absolute;
}
#tooltip {
margin-top: 560px;
display: block;
float: left;
position: absolute;
width: 1000px;
height: auto;
padding: 10px;
background-color: white;
/*-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);*/
pointer-events: none;
}
#tooltip.hidden {
display: none;
}
#tooltip p {
margin: 0;
font-family: sans-serif;
font-size: 16px;
line-height: 20px;
}
#photo {
float: left;
margin: 10px;
margin-top: 0;
}
#value {
}
#name {
}
#date {
}
#button1 {
border-width: 2px;
border-color: black;
color: white;
background-color: #75c374;
padding: 8px;
cursor: pointer;
}
#button2 {
border-width: 2px;
border-color: black;
color: white;
background-color: #f45661;
padding: 8px;
cursor: pointer;
}
#button3 {
border-width: 2px;
border-color: black;
color: white;
background-color: #FF8300;
padding: 8px;
cursor: pointer;
}
</style>
</head>
<body>
<h1>Last Statements</h1>
<p id="menu"><a href="#">Home</a> |
<a href="statements.html">Statements</a> |
<a href="race.html">Race</a> |
<a href="compare.html">Other Writings</a></p>
<br>
<h3>This data set is a collection of the last statements of 533 executed inmates in Texas since 1982. It includes information on their race, age, alleged crime, and photo. There are, however, inconsistencies in the data and incomplete entries. </h3>
<h3>Each tab has a slightly different variation of a visualization showing the linguisitic closeness of each statement—the closer the dots are, the more similar the texts are. The Statements tab is simply the last statements. The Race tab shows the last statements color coded by the race reported in the data set. The Other Writings tab shows the last statements in comparison to other texts, such as poetry, sermons, and apologies. Roll over each dot to read the text.</h3>
<br>
<p>— Stefano Cagnato, Evan Carter, Julia Oran, and Em K Reishus</p>
</body>
</html>