Last active
May 12, 2016 02:01
-
-
Save natemiller/9196fa786d874c448167cb136a7abf0d to your computer and use it in GitHub Desktop.
Climate Change Topic Modeling - Topic 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang='en'> | |
<head> | |
<meta charset="utf-8"> | |
<title> Climate Streamplot - Topic 7 </title> | |
<script src="http://d3js.org/d3.v3.js"></script> | |
<style type = 'text/css'> | |
body { | |
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | |
background-color: white; | |
padding: 50px; | |
} | |
h1 { | |
font-size: 28px; | |
position: relative; | |
left: 100; | |
color: #525252; | |
} | |
h2 { | |
font-size: 20px; | |
position: relative; | |
left: 100; | |
color: darkgrey; | |
} | |
.chart { | |
background: #fff; | |
} | |
p { | |
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | |
font-size: 18px; | |
margin: 10px 0 0 50px; | |
} | |
.tooltip { | |
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | |
} | |
.axis path, .axis line { | |
fill: none; | |
stroke: #000; | |
stroke-width: 2px; | |
shape-rendering: crispEdges; | |
} | |
button { | |
position: absolute; | |
right: 50px; | |
top: 10px; | |
} | |
</style> | |
</head> | |
<body> | |
<h2 style="margin-left:3em;">Climate Change Topic Streamplot</h2> | |
<h1 style="margin-left:2em;">Topic 7 - Security / International Relations / USA </h1> | |
<p > Using articles from the NY Times and Dynamic Topic Modelling to assess how the discussion of 'climate change' and 'global warming' have changed over time. </p> | |
<div class="chart"></div> | |
<script type = 'text/javascript'> | |
chart("topic7_stream_R.csv", "USA"); | |
var datearray = []; | |
var colorrange = []; | |
function chart(csvpath, color) { | |
if (color == "blue") { | |
colorrange = ['#00441b','#006d2c','#238b45','#41ae76','#66c2a4','#99d8c9','#e5f5f9','#ccece6']; | |
} | |
else if (color == "yelblu") { | |
colorrange = ['#084081','#0868ac','#2b8cbe','#4eb3d3','#7bccc4','#a8ddb5','#ccebc5']; | |
} | |
else if (color == "orange") { | |
colorrange = ["#7f0000","#B30000", "#E34A33", "#FC8D59", "#FDBB84", "#FDD49E", "#FEF0D9"]; | |
} | |
else if (color == 'red') { | |
colorrange = ['#67000d','#a50f15','#fcbba1','#fb6a4a','#ef3b2c','#cb181d','#fc9272'] | |
} | |
else if (color == 'USA') { | |
colorrange = ['#2166ac','#4393c3','#92c5de','#d1e5f0','#f7f7f7','#fddbc7','#f4a582','#d6604d','#b2182b'] | |
} | |
strokecolor = colorrange[0]; | |
var format = d3.time.format("%Y"); | |
var margin = {top: 20, right: 100, bottom: 30, left: 100}; | |
var width = document.body.clientWidth - margin.left - margin.right; | |
var height = 400 - margin.top - margin.bottom; | |
var tooltip = d3.select("body") | |
.append("div") | |
.attr("class", "remove") | |
.style("position", "absolute") | |
.style("z-index", "20") | |
.style("visibility", "hidden") | |
.style("top", "625px") | |
.style("left", "180px"); | |
var x = d3.time.scale() | |
.range([0, width]); | |
var y = d3.scale.linear() | |
.range([height-10, 2]); | |
var z = d3.scale.ordinal() | |
.range(colorrange); | |
var xAxis = d3.svg.axis() | |
.scale(x) | |
.orient("bottom") | |
.ticks(d3.time.twoyears); | |
var yAxis = d3.svg.axis() | |
.scale(y); | |
var yAxisr = d3.svg.axis() | |
.scale(y); | |
var stack = d3.layout.stack() | |
.offset("silhouette") | |
.values(function(d) { return d.values; }) | |
.x(function(d) { return d.date; }) | |
.y(function(d) { return d.value; }); | |
var nest = d3.nest() | |
.key(function(d) { return d.key; }); | |
var area = d3.svg.area() | |
.interpolate("cardinal") | |
.x(function(d) { return x(d.date); }) | |
.y0(function(d) { return y(d.y0); }) | |
.y1(function(d) { return y(d.y0 + d.y); }); | |
var svg = d3.select(".chart").append("svg") | |
.attr("width", width + margin.left + margin.right) | |
.attr("height", height + margin.top + margin.bottom) | |
.append("g") | |
.attr("transform", "translate(" + margin.left + "," + margin.top + ")"); | |
var graph = d3.csv(csvpath, function(data) { | |
data.forEach(function(d) { | |
d.date = format.parse(d.date); | |
d.value = +d.value; | |
}); | |
var layers = stack(nest.entries(data)); | |
x.domain(d3.extent(data, function(d) { return d.date; })); | |
y.domain([0, d3.max(data, function(d) { return d.y0 + d.y; })]); | |
svg.selectAll(".layer") | |
.data(layers) | |
.enter().append("path") | |
.attr("class", "layer") | |
.attr("d", function(d) { return area(d.values); }) | |
.style("fill", function(d, i) { return z(i); }); | |
svg.append("g") | |
.attr("class", "x axis") | |
.attr("transform", "translate(0," + height + ")") | |
.call(xAxis); | |
svg.append("g") | |
.attr("class", "y axis") | |
.attr("transform", "translate(" + width + ", 0)") | |
.call(yAxis.orient("right")); | |
svg.append("g") | |
.attr("class", "y axis") | |
.call(yAxis.orient("left")) | |
.append("text") | |
.attr("transform", "rotate(-90)") | |
.attr("y",-margin.top*3.3) //bigger mulitplier moves to the left | |
.attr("x",-height/2) //smaller divider moves up | |
.attr("dy", ".71em") | |
.style("text-anchor", "middle") | |
.text("Probaility of Word | Topic") | |
.attr("font-family","serif") | |
.attr("font-size","16px");; | |
svg.selectAll(".layer") | |
.attr("opacity", 1) | |
.on("mouseover", function(d, i) { | |
svg.selectAll(".layer").transition() | |
.duration(250) | |
.attr("opacity", function(d, j) { | |
return j != i ? 0.6 : 1; | |
})}) | |
.on("mousemove", function(d, i) { | |
mousex = d3.mouse(this); | |
mousex = mousex[0]; | |
var invertedx = x.invert(mousex); | |
invertedx = invertedx.getYear() ; | |
var selected = (d.values); | |
for (var k = 0; k < selected.length; k++) { | |
datearray[k] = selected[k].date | |
datearray[k] = datearray[k].getYear() ; | |
} | |
var tooltips = d3.select('svg').append('g'); | |
mousedate = datearray.indexOf(invertedx); | |
pro = d.values[mousedate].value; | |
d3.select(this) | |
.classed("hover", true) | |
.attr("stroke", strokecolor) | |
.attr("stroke-width", "1.5px"), | |
tooltip.html( "<p>" + d.key + "<br>" + pro + "</p>" ).style("visibility", "visible"); | |
}) | |
.on("mouseout", function(d, i) { | |
svg.selectAll(".layer") | |
.transition() | |
.duration(250) | |
.attr("opacity", "1"); | |
d3.select(this) | |
.classed("hover", false) | |
.attr("stroke-width", "0px"), | |
tooltip.html( "<p>" + d.key + "<br>" + pro + "</p>" ).style("visibility", "hidden"); | |
}) | |
.on("click", function(d, i) { | |
svg.selectAll(".layer").transition() | |
.duration(250) | |
.attr("opacity", function(d, j) { | |
return j != i ? 0.6 : 1; | |
}); | |
}) | |
// .on("click", function(d, i) { | |
// d3.select(this) | |
// .transition() | |
// .duration(250) | |
// .style('fill', function(d, i) { | |
// if(this.style.fill = 'red') { | |
// return z(this); | |
// } else { | |
// return 'red'; | |
// } }); | |
// }); | |
var vertical = d3.select(".chart") | |
.append("div") | |
.attr("class", "remove") | |
.style("position", "absolute") | |
.style("z-index", "19") | |
.style("width", "1px") | |
.style("height", "350px") | |
.style("top", "230px") | |
.style("bottom", "30px") | |
.style("left", "0px") | |
.style("background", "#fff"); | |
d3.select(".chart") | |
.on("mousemove", function(){ | |
mousex = d3.mouse(this); | |
mousex = mousex[0] + 5; | |
vertical.style("left", (mousex+50) + "px" )}) | |
.on("mouseover", function(){ | |
mousex = d3.mouse(this); | |
mousex = mousex[0] + 5; | |
vertical.style("left", (mousex+50) + "px")}); | |
}); | |
} | |
</script> | |
<br> | |
<br> | |
<p align = "right", style="font-size:93%;"><a style="color:#969696;", href=http://bl.ocks.org/WillTurman/4631136/>Inspired by http://bl.ocks.org/WillTurman/4631136</a></p> | |
<p align = "right", style="font-size:93%;"><a style="color:#969696;", href=http://bl.ocks.org/natemiller/raw/33163ad99e4004b62a100a0322c0174b>Topic #8</a></p> | |
</body> | |
</html> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key | date | value | ||
---|---|---|---|---|
1 | america | 1988 | 0 | |
2 | america | 1989 | 0 | |
3 | america | 1990 | 0 | |
4 | america | 1991 | 0 | |
5 | america | 1992 | 0 | |
6 | america | 1993 | 0 | |
7 | america | 1994 | 0 | |
8 | america | 1995 | 0 | |
9 | america | 1996 | 0 | |
10 | america | 1997 | 0 | |
11 | america | 1998 | 0 | |
12 | america | 1999 | 0 | |
13 | america | 2000 | 0 | |
14 | america | 2001 | 0 | |
15 | america | 2002 | 0 | |
16 | america | 2003 | 0 | |
17 | america | 2004 | 0 | |
18 | america | 2005 | 0 | |
19 | america | 2006 | 0 | |
20 | america | 2007 | 0 | |
21 | america | 2008 | 0.003190852 | |
22 | america | 2009 | 0.003282549 | |
23 | america | 2010 | 0.003210491 | |
24 | america | 2011 | 0.003134421 | |
25 | america | 2012 | 0.003041804 | |
26 | america | 2013 | 0 | |
27 | america | 2014 | 0 | |
28 | america | 2015 | 0 | |
29 | america | 2016 | 0 | |
30 | american | 1988 | 0.003137958 | |
31 | american | 1989 | 0.003158719 | |
32 | american | 1990 | 0.003222605 | |
33 | american | 1991 | 0.003314746 | |
34 | american | 1992 | 0.003398819 | |
35 | american | 1993 | 0.003503594 | |
36 | american | 1994 | 0.003606713 | |
37 | american | 1995 | 0.003707114 | |
38 | american | 1996 | 0.003792265 | |
39 | american | 1997 | 0.003881436 | |
40 | american | 1998 | 0.003984206 | |
41 | american | 1999 | 0.004118985 | |
42 | american | 2000 | 0.004298735 | |
43 | american | 2001 | 0.00449708 | |
44 | american | 2002 | 0.004633778 | |
45 | american | 2003 | 0.004656551 | |
46 | american | 2004 | 0.004574531 | |
47 | american | 2005 | 0.004261749 | |
48 | american | 2006 | 0.003906927 | |
49 | american | 2007 | 0.003652691 | |
50 | american | 2008 | 0.003611635 | |
51 | american | 2009 | 0.003513783 | |
52 | american | 2010 | 0.003685613 | |
53 | american | 2011 | 0.003804419 | |
54 | american | 2012 | 0.003876163 | |
55 | american | 2013 | 0.003780678 | |
56 | american | 2014 | 0.003704976 | |
57 | american | 2015 | 0.00344632 | |
58 | american | 2016 | 0.003226372 | |
59 | bush | 1988 | 0 | |
60 | bush | 1989 | 0 | |
61 | bush | 1990 | 0 | |
62 | bush | 1991 | 0 | |
63 | bush | 1992 | 0 | |
64 | bush | 1993 | 0 | |
65 | bush | 1994 | 0 | |
66 | bush | 1995 | 0 | |
67 | bush | 1996 | 0 | |
68 | bush | 1997 | 0 | |
69 | bush | 1998 | 0 | |
70 | bush | 1999 | 0 | |
71 | bush | 2000 | 0.002885608 | |
72 | bush | 2001 | 0.003011767 | |
73 | bush | 2002 | 0.003133034 | |
74 | bush | 2003 | 0.003322126 | |
75 | bush | 2004 | 0.003381859 | |
76 | bush | 2005 | 0 | |
77 | bush | 2006 | 0 | |
78 | bush | 2007 | 0 | |
79 | bush | 2008 | 0 | |
80 | bush | 2009 | 0 | |
81 | bush | 2010 | 0 | |
82 | bush | 2011 | 0 | |
83 | bush | 2012 | 0 | |
84 | bush | 2013 | 0 | |
85 | bush | 2014 | 0 | |
86 | bush | 2015 | 0 | |
87 | bush | 2016 | 0 | |
88 | china | 1988 | 0 | |
89 | china | 1989 | 0 | |
90 | china | 1990 | 0 | |
91 | china | 1991 | 0 | |
92 | china | 1992 | 0 | |
93 | china | 1993 | 0 | |
94 | china | 1994 | 0 | |
95 | china | 1995 | 0 | |
96 | china | 1996 | 0 | |
97 | china | 1997 | 0 | |
98 | china | 1998 | 0 | |
99 | china | 1999 | 0 | |
100 | china | 2000 | 0 | |
101 | china | 2001 | 0 | |
102 | china | 2002 | 0 | |
103 | china | 2003 | 0 | |
104 | china | 2004 | 0 | |
105 | china | 2005 | 0 | |
106 | china | 2006 | 0 | |
107 | china | 2007 | 0 | |
108 | china | 2008 | 0 | |
109 | china | 2009 | 0 | |
110 | china | 2010 | 0.002999493 | |
111 | china | 2011 | 0.003374271 | |
112 | china | 2012 | 0.003403933 | |
113 | china | 2013 | 0.003257051 | |
114 | china | 2014 | 0.003399374 | |
115 | china | 2015 | 0.003801546 | |
116 | china | 2016 | 0.004115262 | |
117 | countries | 1988 | 0 | |
118 | countries | 1989 | 0 | |
119 | countries | 1990 | 0 | |
120 | countries | 1991 | 0 | |
121 | countries | 1992 | 0 | |
122 | countries | 1993 | 0 | |
123 | countries | 1994 | 0 | |
124 | countries | 1995 | 0 | |
125 | countries | 1996 | 0 | |
126 | countries | 1997 | 0 | |
127 | countries | 1998 | 0 | |
128 | countries | 1999 | 0 | |
129 | countries | 2000 | 0 | |
130 | countries | 2001 | 0 | |
131 | countries | 2002 | 0 | |
132 | countries | 2003 | 0 | |
133 | countries | 2004 | 0 | |
134 | countries | 2005 | 0 | |
135 | countries | 2006 | 0 | |
136 | countries | 2007 | 0 | |
137 | countries | 2008 | 0 | |
138 | countries | 2009 | 0 | |
139 | countries | 2010 | 0 | |
140 | countries | 2011 | 0 | |
141 | countries | 2012 | 0 | |
142 | countries | 2013 | 0.00317173 | |
143 | countries | 2014 | 0.003513288 | |
144 | countries | 2015 | 0.003949867 | |
145 | countries | 2016 | 0.004253065 | |
146 | europe | 1988 | 0 | |
147 | europe | 1989 | 0 | |
148 | europe | 1990 | 0 | |
149 | europe | 1991 | 0 | |
150 | europe | 1992 | 0 | |
151 | europe | 1993 | 0 | |
152 | europe | 1994 | 0 | |
153 | europe | 1995 | 0 | |
154 | europe | 1996 | 0 | |
155 | europe | 1997 | 0 | |
156 | europe | 1998 | 0 | |
157 | europe | 1999 | 0 | |
158 | europe | 2000 | 0 | |
159 | europe | 2001 | 0.002985112 | |
160 | europe | 2002 | 0.003070771 | |
161 | europe | 2003 | 0.003063041 | |
162 | europe | 2004 | 0 | |
163 | europe | 2005 | 0 | |
164 | europe | 2006 | 0 | |
165 | europe | 2007 | 0 | |
166 | europe | 2008 | 0 | |
167 | europe | 2009 | 0 | |
168 | europe | 2010 | 0 | |
169 | europe | 2011 | 0 | |
170 | europe | 2012 | 0 | |
171 | europe | 2013 | 0 | |
172 | europe | 2014 | 0 | |
173 | europe | 2015 | 0 | |
174 | europe | 2016 | 0 | |
175 | even | 1988 | 0 | |
176 | even | 1989 | 0 | |
177 | even | 1990 | 0 | |
178 | even | 1991 | 0 | |
179 | even | 1992 | 0 | |
180 | even | 1993 | 0 | |
181 | even | 1994 | 0 | |
182 | even | 1995 | 0 | |
183 | even | 1996 | 0 | |
184 | even | 1997 | 0 | |
185 | even | 1998 | 0 | |
186 | even | 1999 | 0 | |
187 | even | 2000 | 0 | |
188 | even | 2001 | 0 | |
189 | even | 2002 | 0 | |
190 | even | 2003 | 0 | |
191 | even | 2004 | 0 | |
192 | even | 2005 | 0 | |
193 | even | 2006 | 0 | |
194 | even | 2007 | 0 | |
195 | even | 2008 | 0 | |
196 | even | 2009 | 0 | |
197 | even | 2010 | 0 | |
198 | even | 2011 | 0 | |
199 | even | 2012 | 0 | |
200 | even | 2013 | 0 | |
201 | even | 2014 | 0 | |
202 | even | 2015 | 0 | |
203 | even | 2016 | 0 | |
204 | foreign | 1988 | 0.002707863 | |
205 | foreign | 1989 | 0.002695004 | |
206 | foreign | 1990 | 0 | |
207 | foreign | 1991 | 0 | |
208 | foreign | 1992 | 0 | |
209 | foreign | 1993 | 0 | |
210 | foreign | 1994 | 0 | |
211 | foreign | 1995 | 0 | |
212 | foreign | 1996 | 0 | |
213 | foreign | 1997 | 0 | |
214 | foreign | 1998 | 0 | |
215 | foreign | 1999 | 0 | |
216 | foreign | 2000 | 0 | |
217 | foreign | 2001 | 0 | |
218 | foreign | 2002 | 0 | |
219 | foreign | 2003 | 0 | |
220 | foreign | 2004 | 0 | |
221 | foreign | 2005 | 0 | |
222 | foreign | 2006 | 0 | |
223 | foreign | 2007 | 0 | |
224 | foreign | 2008 | 0 | |
225 | foreign | 2009 | 0 | |
226 | foreign | 2010 | 0 | |
227 | foreign | 2011 | 0 | |
228 | foreign | 2012 | 0 | |
229 | foreign | 2013 | 0 | |
230 | foreign | 2014 | 0 | |
231 | foreign | 2015 | 0 | |
232 | foreign | 2016 | 0 | |
233 | iraq | 1988 | 0 | |
234 | iraq | 1989 | 0 | |
235 | iraq | 1990 | 0 | |
236 | iraq | 1991 | 0 | |
237 | iraq | 1992 | 0 | |
238 | iraq | 1993 | 0 | |
239 | iraq | 1994 | 0 | |
240 | iraq | 1995 | 0 | |
241 | iraq | 1996 | 0 | |
242 | iraq | 1997 | 0 | |
243 | iraq | 1998 | 0 | |
244 | iraq | 1999 | 0 | |
245 | iraq | 2000 | 0 | |
246 | iraq | 2001 | 0 | |
247 | iraq | 2002 | 0.003131142 | |
248 | iraq | 2003 | 0.003421948 | |
249 | iraq | 2004 | 0.00343434 | |
250 | iraq | 2005 | 0 | |
251 | iraq | 2006 | 0 | |
252 | iraq | 2007 | 0 | |
253 | iraq | 2008 | 0 | |
254 | iraq | 2009 | 0 | |
255 | iraq | 2010 | 0 | |
256 | iraq | 2011 | 0 | |
257 | iraq | 2012 | 0 | |
258 | iraq | 2013 | 0 | |
259 | iraq | 2014 | 0 | |
260 | iraq | 2015 | 0 | |
261 | iraq | 2016 | 0 | |
262 | many | 1988 | 0 | |
263 | many | 1989 | 0 | |
264 | many | 1990 | 0 | |
265 | many | 1991 | 0 | |
266 | many | 1992 | 0 | |
267 | many | 1993 | 0 | |
268 | many | 1994 | 0 | |
269 | many | 1995 | 0 | |
270 | many | 1996 | 0 | |
271 | many | 1997 | 0 | |
272 | many | 1998 | 0 | |
273 | many | 1999 | 0 | |
274 | many | 2000 | 0 | |
275 | many | 2001 | 0 | |
276 | many | 2002 | 0 | |
277 | many | 2003 | 0 | |
278 | many | 2004 | 0 | |
279 | many | 2005 | 0 | |
280 | many | 2006 | 0 | |
281 | many | 2007 | 0 | |
282 | many | 2008 | 0 | |
283 | many | 2009 | 0 | |
284 | many | 2010 | 0 | |
285 | many | 2011 | 0 | |
286 | many | 2012 | 0 | |
287 | many | 2013 | 0 | |
288 | many | 2014 | 0 | |
289 | many | 2015 | 0 | |
290 | many | 2016 | 0 | |
291 | people | 1988 | 0.002855964 | |
292 | people | 1989 | 0.002870062 | |
293 | people | 1990 | 0.002897799 | |
294 | people | 1991 | 0.002922215 | |
295 | people | 1992 | 0.002948892 | |
296 | people | 1993 | 0.002981279 | |
297 | people | 1994 | 0.00301138 | |
298 | people | 1995 | 0.003044761 | |
299 | people | 1996 | 0.003087873 | |
300 | people | 1997 | 0.003144428 | |
301 | people | 1998 | 0.003208898 | |
302 | people | 1999 | 0.003274737 | |
303 | people | 2000 | 0.0033326 | |
304 | people | 2001 | 0.003382674 | |
305 | people | 2002 | 0.003426242 | |
306 | people | 2003 | 0.003501971 | |
307 | people | 2004 | 0.003667111 | |
308 | people | 2005 | 0.003996618 | |
309 | people | 2006 | 0.004360301 | |
310 | people | 2007 | 0.004759108 | |
311 | people | 2008 | 0.005164652 | |
312 | people | 2009 | 0.005687427 | |
313 | people | 2010 | 0.005977503 | |
314 | people | 2011 | 0.006199184 | |
315 | people | 2012 | 0.00640763 | |
316 | people | 2013 | 0.006400751 | |
317 | people | 2014 | 0.006485352 | |
318 | people | 2015 | 0.006655807 | |
319 | people | 2016 | 0.006851412 | |
320 | political | 1988 | 0.004266759 | |
321 | political | 1989 | 0.004266116 | |
322 | political | 1990 | 0.004203104 | |
323 | political | 1991 | 0.004125979 | |
324 | political | 1992 | 0.004049855 | |
325 | political | 1993 | 0.003921144 | |
326 | political | 1994 | 0.003781919 | |
327 | political | 1995 | 0.003644822 | |
328 | political | 1996 | 0.003516501 | |
329 | political | 1997 | 0.003397227 | |
330 | political | 1998 | 0.003269341 | |
331 | political | 1999 | 0.003135971 | |
332 | political | 2000 | 0.002979112 | |
333 | political | 2001 | 0 | |
334 | political | 2002 | 0 | |
335 | political | 2003 | 0 | |
336 | political | 2004 | 0 | |
337 | political | 2005 | 0 | |
338 | political | 2006 | 0 | |
339 | political | 2007 | 0 | |
340 | political | 2008 | 0 | |
341 | political | 2009 | 0 | |
342 | political | 2010 | 0 | |
343 | political | 2011 | 0 | |
344 | political | 2012 | 0 | |
345 | political | 2013 | 0 | |
346 | political | 2014 | 0 | |
347 | political | 2015 | 0 | |
348 | political | 2016 | 0 | |
349 | president | 1988 | 0 | |
350 | president | 1989 | 0 | |
351 | president | 1990 | 0 | |
352 | president | 1991 | 0 | |
353 | president | 1992 | 0 | |
354 | president | 1993 | 0 | |
355 | president | 1994 | 0 | |
356 | president | 1995 | 0 | |
357 | president | 1996 | 0.002699269 | |
358 | president | 1997 | 0.002745802 | |
359 | president | 1998 | 0.002791729 | |
360 | president | 1999 | 0.002841261 | |
361 | president | 2000 | 0.002901037 | |
362 | president | 2001 | 0.002957798 | |
363 | president | 2002 | 0 | |
364 | president | 2003 | 0 | |
365 | president | 2004 | 0 | |
366 | president | 2005 | 0.002955543 | |
367 | president | 2006 | 0 | |
368 | president | 2007 | 0 | |
369 | president | 2008 | 0.002995881 | |
370 | president | 2009 | 0 | |
371 | president | 2010 | 0 | |
372 | president | 2011 | 0 | |
373 | president | 2012 | 0 | |
374 | president | 2013 | 0 | |
375 | president | 2014 | 0 | |
376 | president | 2015 | 0 | |
377 | president | 2016 | 0 | |
378 | security | 1988 | 0.002965985 | |
379 | security | 1989 | 0.002951302 | |
380 | security | 1990 | 0.00286279 | |
381 | security | 1991 | 0.002782831 | |
382 | security | 1992 | 0.002734325 | |
383 | security | 1993 | 0.00270799 | |
384 | security | 1994 | 0.002690627 | |
385 | security | 1995 | 0.002679529 | |
386 | security | 1996 | 0 | |
387 | security | 1997 | 0 | |
388 | security | 1998 | 0 | |
389 | security | 1999 | 0 | |
390 | security | 2000 | 0 | |
391 | security | 2001 | 0 | |
392 | security | 2002 | 0 | |
393 | security | 2003 | 0 | |
394 | security | 2004 | 0 | |
395 | security | 2005 | 0 | |
396 | security | 2006 | 0 | |
397 | security | 2007 | 0 | |
398 | security | 2008 | 0 | |
399 | security | 2009 | 0 | |
400 | security | 2010 | 0 | |
401 | security | 2011 | 0 | |
402 | security | 2012 | 0 | |
403 | security | 2013 | 0 | |
404 | security | 2014 | 0 | |
405 | security | 2015 | 0 | |
406 | security | 2016 | 0 | |
407 | states | 1988 | 0 | |
408 | states | 1989 | 0 | |
409 | states | 1990 | 0 | |
410 | states | 1991 | 0 | |
411 | states | 1992 | 0 | |
412 | states | 1993 | 0 | |
413 | states | 1994 | 0 | |
414 | states | 1995 | 0 | |
415 | states | 1996 | 0 | |
416 | states | 1997 | 0 | |
417 | states | 1998 | 0 | |
418 | states | 1999 | 0 | |
419 | states | 2000 | 0 | |
420 | states | 2001 | 0 | |
421 | states | 2002 | 0 | |
422 | states | 2003 | 0 | |
423 | states | 2004 | 0.003050006 | |
424 | states | 2005 | 0.003046512 | |
425 | states | 2006 | 0.003012412 | |
426 | states | 2007 | 0.002970785 | |
427 | states | 2008 | 0 | |
428 | states | 2009 | 0.003108092 | |
429 | states | 2010 | 0.003396211 | |
430 | states | 2011 | 0.003682591 | |
431 | states | 2012 | 0.003930469 | |
432 | states | 2013 | 0.004044761 | |
433 | states | 2014 | 0.00399551 | |
434 | states | 2015 | 0.003986701 | |
435 | states | 2016 | 0.00404433 | |
436 | time | 1988 | 0 | |
437 | time | 1989 | 0 | |
438 | time | 1990 | 0 | |
439 | time | 1991 | 0 | |
440 | time | 1992 | 0 | |
441 | time | 1993 | 0 | |
442 | time | 1994 | 0 | |
443 | time | 1995 | 0 | |
444 | time | 1996 | 0 | |
445 | time | 1997 | 0 | |
446 | time | 1998 | 0 | |
447 | time | 1999 | 0 | |
448 | time | 2000 | 0 | |
449 | time | 2001 | 0 | |
450 | time | 2002 | 0 | |
451 | time | 2003 | 0 | |
452 | time | 2004 | 0 | |
453 | time | 2005 | 0 | |
454 | time | 2006 | 0 | |
455 | time | 2007 | 0 | |
456 | time | 2008 | 0.002998967 | |
457 | time | 2009 | 0.003071823 | |
458 | time | 2010 | 0 | |
459 | time | 2011 | 0 | |
460 | time | 2012 | 0 | |
461 | time | 2013 | 0 | |
462 | time | 2014 | 0 | |
463 | time | 2015 | 0 | |
464 | time | 2016 | 0 | |
465 | times | 1988 | 0 | |
466 | times | 1989 | 0 | |
467 | times | 1990 | 0 | |
468 | times | 1991 | 0 | |
469 | times | 1992 | 0 | |
470 | times | 1993 | 0 | |
471 | times | 1994 | 0 | |
472 | times | 1995 | 0 | |
473 | times | 1996 | 0 | |
474 | times | 1997 | 0 | |
475 | times | 1998 | 0 | |
476 | times | 1999 | 0 | |
477 | times | 2000 | 0 | |
478 | times | 2001 | 0 | |
479 | times | 2002 | 0 | |
480 | times | 2003 | 0 | |
481 | times | 2004 | 0 | |
482 | times | 2005 | 0 | |
483 | times | 2006 | 0.003202937 | |
484 | times | 2007 | 0.00361514 | |
485 | times | 2008 | 0.003766471 | |
486 | times | 2009 | 0.003521513 | |
487 | times | 2010 | 0 | |
488 | times | 2011 | 0 | |
489 | times | 2012 | 0 | |
490 | times | 2013 | 0 | |
491 | times | 2014 | 0 | |
492 | times | 2015 | 0 | |
493 | times | 2016 | 0 | |
494 | trump | 1988 | 0 | |
495 | trump | 1989 | 0 | |
496 | trump | 1990 | 0 | |
497 | trump | 1991 | 0 | |
498 | trump | 1992 | 0 | |
499 | trump | 1993 | 0 | |
500 | trump | 1994 | 0 | |
501 | trump | 1995 | 0 | |
502 | trump | 1996 | 0 | |
503 | trump | 1997 | 0 | |
504 | trump | 1998 | 0 | |
505 | trump | 1999 | 0 | |
506 | trump | 2000 | 0 | |
507 | trump | 2001 | 0 | |
508 | trump | 2002 | 0 | |
509 | trump | 2003 | 0 | |
510 | trump | 2004 | 0 | |
511 | trump | 2005 | 0 | |
512 | trump | 2006 | 0 | |
513 | trump | 2007 | 0 | |
514 | trump | 2008 | 0 | |
515 | trump | 2009 | 0 | |
516 | trump | 2010 | 0 | |
517 | trump | 2011 | 0 | |
518 | trump | 2012 | 0 | |
519 | trump | 2013 | 0 | |
520 | trump | 2014 | 0 | |
521 | trump | 2015 | 0.003628671 | |
522 | trump | 2016 | 0.005759061 | |
523 | united | 1988 | 0 | |
524 | united | 1989 | 0 | |
525 | united | 1990 | 0.002633977 | |
526 | united | 1991 | 0.002703246 | |
527 | united | 1992 | 0.002793501 | |
528 | united | 1993 | 0.002901766 | |
529 | united | 1994 | 0.003019469 | |
530 | united | 1995 | 0.003148311 | |
531 | united | 1996 | 0.003293009 | |
532 | united | 1997 | 0.003464788 | |
533 | united | 1998 | 0.003640977 | |
534 | united | 1999 | 0.00374816 | |
535 | united | 2000 | 0.003862393 | |
536 | united | 2001 | 0.003998392 | |
537 | united | 2002 | 0.004125718 | |
538 | united | 2003 | 0.004134823 | |
539 | united | 2004 | 0.004049802 | |
540 | united | 2005 | 0.003951632 | |
541 | united | 2006 | 0.003811295 | |
542 | united | 2007 | 0.003663077 | |
543 | united | 2008 | 0.003441367 | |
544 | united | 2009 | 0.003668251 | |
545 | united | 2010 | 0.003975957 | |
546 | united | 2011 | 0.004257404 | |
547 | united | 2012 | 0.004521173 | |
548 | united | 2013 | 0.004638677 | |
549 | united | 2014 | 0.004640904 | |
550 | united | 2015 | 0.004757161 | |
551 | united | 2016 | 0.004854962 | |
552 | us | 1988 | 0.003149803 | |
553 | us | 1989 | 0.003174759 | |
554 | us | 1990 | 0.003245828 | |
555 | us | 1991 | 0.003317516 | |
556 | us | 1992 | 0.003347983 | |
557 | us | 1993 | 0.00336143 | |
558 | us | 1994 | 0.003375217 | |
559 | us | 1995 | 0.003390572 | |
560 | us | 1996 | 0.003397174 | |
561 | us | 1997 | 0.00341749 | |
562 | us | 1998 | 0.003470299 | |
563 | us | 1999 | 0.00355601 | |
564 | us | 2000 | 0.003646941 | |
565 | us | 2001 | 0.003736725 | |
566 | us | 2002 | 0.003820474 | |
567 | us | 2003 | 0.003877019 | |
568 | us | 2004 | 0.00389349 | |
569 | us | 2005 | 0.004042692 | |
570 | us | 2006 | 0.004211304 | |
571 | us | 2007 | 0.00450614 | |
572 | us | 2008 | 0.004975183 | |
573 | us | 2009 | 0.005135624 | |
574 | us | 2010 | 0.00519878 | |
575 | us | 2011 | 0.004993853 | |
576 | us | 2012 | 0.004704198 | |
577 | us | 2013 | 0.004757095 | |
578 | us | 2014 | 0.004992014 | |
579 | us | 2015 | 0.005065339 | |
580 | us | 2016 | 0.005247375 | |
581 | war | 1988 | 0.003584781 | |
582 | war | 1989 | 0.003610806 | |
583 | war | 1990 | 0.003695099 | |
584 | war | 1991 | 0.003789891 | |
585 | war | 1992 | 0.003794528 | |
586 | war | 1993 | 0.003770099 | |
587 | war | 1994 | 0.003723213 | |
588 | war | 1995 | 0.003682101 | |
589 | war | 1996 | 0.003661143 | |
590 | war | 1997 | 0.003669897 | |
591 | war | 1998 | 0.00371048 | |
592 | war | 1999 | 0.003777052 | |
593 | war | 2000 | 0.003905133 | |
594 | war | 2001 | 0.004115445 | |
595 | war | 2002 | 0.004430639 | |
596 | war | 2003 | 0.004737935 | |
597 | war | 2004 | 0.004650008 | |
598 | war | 2005 | 0.004025206 | |
599 | war | 2006 | 0.003448015 | |
600 | war | 2007 | 0.003023887 | |
601 | war | 2008 | 0 | |
602 | war | 2009 | 0 | |
603 | war | 2010 | 0 | |
604 | war | 2011 | 0 | |
605 | war | 2012 | 0.00306206 | |
606 | war | 2013 | 0 | |
607 | war | 2014 | 0 | |
608 | war | 2015 | 0 | |
609 | war | 2016 | 0 | |
610 | world | 1988 | 0.008429495 | |
611 | world | 1989 | 0.008452407 | |
612 | world | 1990 | 0.008433618 | |
613 | world | 1991 | 0.008401839 | |
614 | world | 1992 | 0.008319622 | |
615 | world | 1993 | 0.008286653 | |
616 | world | 1994 | 0.008266811 | |
617 | world | 1995 | 0.008254056 | |
618 | world | 1996 | 0.008238059 | |
619 | world | 1997 | 0.008180313 | |
620 | world | 1998 | 0.008139018 | |
621 | world | 1999 | 0.00815846 | |
622 | world | 2000 | 0.00813623 | |
623 | world | 2001 | 0.008113632 | |
624 | world | 2002 | 0.008059633 | |
625 | world | 2003 | 0.00779156 | |
626 | world | 2004 | 0.007507444 | |
627 | world | 2005 | 0.007187034 | |
628 | world | 2006 | 0.00681961 | |
629 | world | 2007 | 0.006513675 | |
630 | world | 2008 | 0.006719568 | |
631 | world | 2009 | 0.007577012 | |
632 | world | 2010 | 0.007919336 | |
633 | world | 2011 | 0.008225599 | |
634 | world | 2012 | 0.008284214 | |
635 | world | 2013 | 0.007968453 | |
636 | world | 2014 | 0.007163922 | |
637 | world | 2015 | 0.006511124 | |
638 | world | 2016 | 0.006216852 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment