-
Notifications
You must be signed in to change notification settings - Fork 39
/
ggiraph.html
293 lines (230 loc) · 35.1 KB
/
ggiraph.html
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<title>ggplot2 extensions: ggiraph</title>
<script src="libs/jquery-2.1.1/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="libs/bootstrap-3.3.1/css/cosmo.min.css" rel="stylesheet" />
<script src="libs/bootstrap-3.3.1/js/bootstrap.min.js"></script>
<script src="libs/bootstrap-3.3.1/shim/html5shiv.min.js"></script>
<script src="libs/bootstrap-3.3.1/shim/respond.min.js"></script>
<script src="libs/htmlwidgets-0.5/htmlwidgets.js"></script>
<link href="libs/tooltip-3.3.6/bootstrap.min.css" rel="stylesheet" />
<script src="libs/tooltip-3.3.6/bootstrap.min.js"></script>
<script src="libs/ggiraph-binding-0.1.0/ggiraph.js"></script>
<!-- Styles for this site -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/styles.css" rel="stylesheet">
<!-- Polyfill JS -->
<script src="js/polyfill.js"></script>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet"
href="libs/highlight/textmate.css"
type="text/css" />
<script src="libs/highlight/highlight.js"></script>
<style type="text/css">
pre:not([class]) {
background-color: white;
}
</style>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
}
</script>
</head>
<body>
<style type = "text/css">
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
code {
color: inherit;
background-color: rgba(0, 0, 0, 0.04);
}
img {
max-width:100%;
height: auto;
}
</style>
<div class="container-fluid main-container">
<!--html_preserve-->
<div class="header">
<nav class="navbar">
<h3 class="navbar-left"><strong>ggplot2</strong> extensions</h3>
<ul class="nav nav-pills navbar-right">
<li role="presentation" id="nav-home"><a href="index.html">Home</a></li>
<li role="presentation" id="nav-showcase"><a href="ggiraph.html">Extensions</a></li>
<li role="presentation" id="nav-github"><a href="https://github.com/ggplot2-exts/ggplot2-exts.github.io">GitHub</a></li>
</ul>
</nav>
</div>
<div class="showcase-header">
<div id = "showcase-intro">
ggplot2 now has an official extension mechanism. This means that others can now easily create their own stats, geoms and positions, and provide them in other packages. This should allow the ggplot2 community to flourish, even as less development work happens in ggplot2 itself. This page showcases these extensions.
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-4">
<div class="list-group">
<a href="ggiraph.html" class="list-group-item">
<h5 class="list-group-item-heading">ggiraph</h5>
<p class="list-group-item-text">Make ggplot interactive</p>
</a>
<a href="ggstance.html" class="list-group-item">
<h5 class="list-group-item-heading">ggstance</h5>
<p class="list-group-item-text">Horizontal versions of ggplot2 geoms</p>
</a>
<a href="ggalt.html" class="list-group-item">
<h5 class="list-group-item-heading">ggalt</h5>
<p class="list-group-item-text">Extra coordinate systems, geoms & stats</p>
</a>
<a href="ggforce.html" class="list-group-item">
<h5 class="list-group-item-heading">ggforce</h5>
<p class="list-group-item-text">Accelarating ggplot2</p>
</a>
<a href="ggrepel.html" class="list-group-item">
<h5 class="list-group-item-heading">ggrepel</h5>
<p class="list-group-item-text">Repel overlapping text labels</p>
</a>
<a href="ggraph.html" class="list-group-item">
<h5 class="list-group-item-heading">ggraph</h5>
<p class="list-group-item-text">Plot graph-like data structures</p>
</a>
<a href="ggpmisc.html" class="list-group-item">
<h5 class="list-group-item-heading">ggpmisc</h5>
<p class="list-group-item-text">Miscellaneous extensions to ggplot2</p>
</a>
<a href="geomnet.html" class="list-group-item">
<h5 class="list-group-item-heading">geomnet</h5>
<p class="list-group-item-text">Network visualizations in ggplot2</p>
</a>
<a href="ggExtra.html" class="list-group-item">
<h5 class="list-group-item-heading">ggExtra</h5>
<p class="list-group-item-text">Marginal density plots or histograms</p>
</a>
<a href="gganimate.html" class="list-group-item">
<h5 class="list-group-item-heading">gganimate</h5>
<p class="list-group-item-text">Create easy animations with ggplot2</p>
</a>
<a href="plotROC.html" class="list-group-item">
<h5 class="list-group-item-heading">plotROC</h5>
<p class="list-group-item-text">Interactive ROC plots</p>
</a>
<a href="ggthemes.html" class="list-group-item">
<h5 class="list-group-item-heading">ggthemes</h5>
<p class="list-group-item-text">ggplot themes and scales</p>
</a>
<a href="ggspectra.html" class="list-group-item">
<h5 class="list-group-item-heading">ggspectra</h5>
<p class="list-group-item-text">Extensions for radiation spectra</p>
</a>
<a href="ggnetwork.html" class="list-group-item">
<h5 class="list-group-item-heading">ggnetwork</h5>
<p class="list-group-item-text">Geoms to plot networks with ggplot2</p>
</a>
<a href="ggtech.html" class="list-group-item">
<h5 class="list-group-item-heading">ggtech</h5>
<p class="list-group-item-text">ggplot2 tech themes, scales, and geoms</p>
</a>
<a href="ggradar.html" class="list-group-item">
<h5 class="list-group-item-heading">ggradar</h5>
<p class="list-group-item-text">radar charts with ggplot2</p>
</a>
<a href="ggTimeSeries.html" class="list-group-item">
<h5 class="list-group-item-heading">ggTimeSeries</h5>
<p class="list-group-item-text">Time series visualisations</p>
</a>
<a href="ggtree.html" class="list-group-item">
<h5 class="list-group-item-heading">ggtree</h5>
<p class="list-group-item-text">A phylogenetic tree viewer</p>
</a>
<a href="ggseas.html" class="list-group-item">
<h5 class="list-group-item-heading">ggseas</h5>
<p class="list-group-item-text">Seasonal adjustment on the fly</p>
</a>
</div> <!-- list-group -->
</div> <!-- col-sm-4 -->
<div id="ggiraph" class="col-sm-8">
<h3>ggiraph</h3>
<p><a href="http://davidgohel.github.io/ggiraph/introduction.html" class="uri">http://davidgohel.github.io/ggiraph/introduction.html</a></p>
<p>The ggiraph package let R users to make ggplot interactive. The package is an htmlwidget.</p>
<pre class="r"><code>library(ggplot2)
library(rvg)
library(ggiraph)
mytheme_main <- theme( panel.background = element_blank(),
panel.grid.major = element_line(colour = "#dddddd"),
axis.ticks = element_line(colour = "#dddddd") )
mytheme_map <- theme(
panel.background = element_blank(), axis.title.x = element_blank(),
axis.text = element_blank(), axis.line.x = element_blank(),
axis.line.y = element_blank(), axis.title.y = element_blank(),
axis.ticks.x = element_blank(), axis.ticks.y = element_blank() )
dataset$tooltip <- row.names(dataset)
# geom_point_interactive example
gg_point_1 <- ggplot(dataset, aes(x = disp, y = qsec,
color = wt, tooltip = tooltip ) ) +
geom_point_interactive(size=3)
# htmlwidget call
ggiraph(code = {print(gg_point_1 + mytheme_main)}, width = 7, height = 6)</code></pre>
<p><div id="htmlwidget-1976" style="width:504px;height:432px;" class="ggiraph"></div>
<script type="application/json" data-for="htmlwidget-1976">{"x":{"html":"<?xml version='1.0' encoding='UTF-8'?><svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' id='svg_1' viewBox='0 0 504.00 432.00' width='504.00' height='432.00'><rect x='0.00' y='0.00' width='504.00' height='432.00' id='1' fill=\"#FFFFFF\" fill-opacity=\"1\" stroke-width=\"0.75\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><polygon points='0.00,432.00 0.00,0.00 504.00,0.00 504.00,432.00' id='2' fill=\"#FFFFFF\" fill-opacity=\"1\" stroke-width=\"1.06698\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><polyline points='36.20,361.11 445.81,361.11' id='3' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,275.62 445.81,275.62' id='4' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,190.13 445.81,190.13' id='5' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,104.65 445.81,104.65' id='6' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,19.16 445.81,19.16' id='7' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='128.10,400.44 128.10,5.48' id='8' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='220.99,400.44 220.99,5.48' id='9' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='313.87,400.44 313.87,5.48' id='10' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='406.76,400.44 406.76,5.48' id='11' fill=\"none\" stroke-width=\"0.533489\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,318.37 445.81,318.37' id='12' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,232.88 445.81,232.88' id='13' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,147.39 445.81,147.39' id='14' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='36.20,61.90 445.81,61.90' id='15' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='81.66,400.44 81.66,5.48' id='16' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='174.54,400.44 174.54,5.48' id='17' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='267.43,400.44 267.43,5.48' id='18' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='360.32,400.44 360.32,5.48' id='19' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><circle cx='137.39' cy='298.70' r='2.67pt' id='20' fill=\"#254E72\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#254E72\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='137.39' cy='274.77' r='2.67pt' id='21' fill=\"#29567D\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#29567D\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='89.09' cy='206.80' r='2.67pt' id='22' fill=\"#204465\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#204465\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='228.42' cy='171.33' r='2.67pt' id='23' fill=\"#2E618C\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#2E618C\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='323.16' cy='274.77' r='2.67pt' id='24' fill=\"#326997\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#326997\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='197.77' cy='137.99' r='2.67pt' id='25' fill=\"#336A98\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#336A98\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='323.16' cy='325.21' r='2.67pt' id='26' fill=\"#356E9D\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#356E9D\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='125.04' cy='147.39' r='2.67pt' id='27' fill=\"#2E618B\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#2E618B\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='119.56' cy='23.43' r='2.67pt' id='28' fill=\"#2D5F89\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#2D5F89\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='144.45' cy='220.06' r='2.67pt' id='29' fill=\"#326997\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#326997\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='144.45' cy='194.41' r='2.67pt' id='30' fill=\"#326997\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#326997\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='244.95' cy='258.52' r='2.67pt' id='31' fill=\"#3D7FB4\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#3D7FB4\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='244.95' cy='249.98' r='2.67pt' id='32' fill=\"#3773A4\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#3773A4\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='244.95' cy='232.88' r='2.67pt' id='33' fill=\"#3875A6\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#3875A6\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='427.19' cy='233.73' r='2.67pt' id='34' fill=\"#53AAEE\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#53AAEE\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='416.05' cy='240.57' r='2.67pt' id='35' fill=\"#56B1F7\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#56B1F7\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='397.47' cy='257.67' r='2.67pt' id='36' fill=\"#55AEF3\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#55AEF3\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='61.87' cy='170.04' r='2.67pt' id='37' fill=\"#1E405F\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#1E405F\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='59.09' cy='210.65' r='2.67pt' id='38' fill=\"#152E47\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#152E47\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='54.81' cy='151.66' r='2.67pt' id='39' fill=\"#183550\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#183550\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='100.33' cy='146.96' r='2.67pt' id='40' fill=\"#22496B\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#22496B\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='284.15' cy='281.18' r='2.67pt' id='41' fill=\"#346C9A\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#346C9A\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='271.15' cy='262.80' r='2.67pt' id='42' fill=\"#326996\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#326996\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='313.87' cy='343.59' r='2.67pt' id='43' fill=\"#3977A9\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#3977A9\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='360.32' cy='273.49' r='2.67pt' id='44' fill=\"#3977AA\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#3977AA\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='62.15' cy='194.41' r='2.67pt' id='45' fill=\"#1A3854\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#1A3854\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='100.51' cy='288.45' r='2.67pt' id='46' fill=\"#1D3E5D\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#1D3E5D\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='77.11' cy='279.90' r='2.67pt' id='47' fill=\"#132B43\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#132B43\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='314.80' cy='382.48' r='2.67pt' id='48' fill=\"#2E608A\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#2E608A\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='123.46' cy='339.74' r='2.67pt' id='49' fill=\"#275378\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#275378\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='268.36' cy='378.21' r='2.67pt' id='50' fill=\"#356E9D\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#356E9D\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><circle cx='101.16' cy='207.23' r='2.67pt' id='51' fill=\"#275379\" fill-opacity=\"1\" stroke-width=\"0.708661\" stroke=\"#275379\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"round\"/><script type='text/javascript'><![CDATA[$('#svg_1').find('#20').attr('data-toggle','tooltip').attr('title','Mazda RX4').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#21').attr('data-toggle','tooltip').attr('title','Mazda RX4 Wag').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#22').attr('data-toggle','tooltip').attr('title','Datsun 710').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#23').attr('data-toggle','tooltip').attr('title','Hornet 4 Drive').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#24').attr('data-toggle','tooltip').attr('title','Hornet Sportabout').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#25').attr('data-toggle','tooltip').attr('title','Valiant').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#26').attr('data-toggle','tooltip').attr('title','Duster 360').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#27').attr('data-toggle','tooltip').attr('title','Merc 240D').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#28').attr('data-toggle','tooltip').attr('title','Merc 230').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#29').attr('data-toggle','tooltip').attr('title','Merc 280').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#30').attr('data-toggle','tooltip').attr('title','Merc 280C').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#31').attr('data-toggle','tooltip').attr('title','Merc 450SE').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#32').attr('data-toggle','tooltip').attr('title','Merc 450SL').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#33').attr('data-toggle','tooltip').attr('title','Merc 450SLC').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#34').attr('data-toggle','tooltip').attr('title','Cadillac Fleetwood').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#35').attr('data-toggle','tooltip').attr('title','Lincoln Continental').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#36').attr('data-toggle','tooltip').attr('title','Chrysler Imperial').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#37').attr('data-toggle','tooltip').attr('title','Fiat 128').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#38').attr('data-toggle','tooltip').attr('title','Honda Civic').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#39').attr('data-toggle','tooltip').attr('title','Toyota Corolla').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#40').attr('data-toggle','tooltip').attr('title','Toyota Corona').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#41').attr('data-toggle','tooltip').attr('title','Dodge Challenger').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#42').attr('data-toggle','tooltip').attr('title','AMC Javelin').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#43').attr('data-toggle','tooltip').attr('title','Camaro Z28').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#44').attr('data-toggle','tooltip').attr('title','Pontiac Firebird').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#45').attr('data-toggle','tooltip').attr('title','Fiat X1-9').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#46').attr('data-toggle','tooltip').attr('title','Porsche 914-2').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#47').attr('data-toggle','tooltip').attr('title','Lotus Europa').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#48').attr('data-toggle','tooltip').attr('title','Ford Pantera L').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#49').attr('data-toggle','tooltip').attr('title','Ferrari Dino').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#50').attr('data-toggle','tooltip').attr('title','Maserati Bora').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#51').attr('data-toggle','tooltip').attr('title','Volvo 142E').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});]]>\u003c/script><text x='20.07' y='321.65' id='52' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>16</text><text x='20.07' y='236.16' id='53' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>18</text><text x='20.07' y='150.67' id='54' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>20</text><text x='20.07' y='65.18' id='55' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>22</text><polyline points='33.46,318.37 36.20,318.37' id='56' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='33.46,232.88 36.20,232.88' id='57' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='33.46,147.39 36.20,147.39' id='58' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='33.46,61.90 36.20,61.90' id='59' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='81.66,403.18 81.66,400.44' id='60' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='174.54,403.18 174.54,400.44' id='61' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='267.43,403.18 267.43,400.44' id='62' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><polyline points='360.32,403.18 360.32,400.44' id='63' fill=\"none\" stroke-width=\"1.06698\" stroke=\"#DDDDDD\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\"/><text x='73.26' y='411.93' id='64' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>100</text><text x='166.15' y='411.93' id='65' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>200</text><text x='259.03' y='411.93' id='66' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>300</text><text x='351.92' y='411.93' id='67' font-size='6.60pt' fill=\"#4D4D4D\" fill-opacity=\"1\" font-family='Calibri'>400</text><text x='229.63' y='424.33' id='68' font-size='8.25pt' font-family='Calibri'>disp</text><text transform='translate(15.69,215.72) rotate(-90)' id='69' font-size='8.25pt' font-family='Calibri'>qsec</text><rect x='454.32' y='149.34' width='35.70' height='107.24' id='70' fill=\"#FFFFFF\" fill-opacity=\"1\" stroke=\"none\"/><image x='458.57' y='165.93' width='17.28' height='86.40' id='71' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAABWCAIAAACmUup5AAAABmJLR0QA/wD/AP+gvaeTAAAAiUlEQVRYhe2YQQ7AIBACadM39p19XW9q38AcCGn0vgFZxNXjfl6Z63QLJF1rLb9mDoAzAY5fI4QD9gO4sZoQt5RuKR/8rKfM18QHxboBDWI+iPWnN0OaPapijzafn+qsimVIL7etQXAOqZ5hN7fY7N/sg2ZuKA/892mOW29/GE5Ia3L/+D4g/yEfpk7p2+yUW14AAAAASUVORK5CYII=' xmlns:xlink='http://www.w3.org/1999/xlink'/><text x='480.17' y='244.81' id='72' font-size='6.60pt' font-family='Calibri'>2</text><text x='480.17' y='223.21' id='73' font-size='6.60pt' font-family='Calibri'>3</text><text x='480.17' y='201.61' id='74' font-size='6.60pt' font-family='Calibri'>4</text><text x='480.17' y='180.01' id='75' font-size='6.60pt' font-family='Calibri'>5</text><text x='458.57' y='161.61' id='76' font-size='8.25pt' font-family='Calibri'>wt</text><line x1='458.57' y1='241.53' x2='462.02' y2='241.53' id='77' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='458.57' y1='219.93' x2='462.02' y2='219.93' id='78' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='458.57' y1='198.33' x2='462.02' y2='198.33' id='79' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='458.57' y1='176.73' x2='462.02' y2='176.73' id='80' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='472.39' y1='241.53' x2='475.85' y2='241.53' id='81' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='472.39' y1='219.93' x2='475.85' y2='219.93' id='82' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='472.39' y1='198.33' x2='475.85' y2='198.33' id='83' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/><line x1='472.39' y1='176.73' x2='475.85' y2='176.73' id='84' stroke-width=\"0.375\" stroke=\"#FFFFFF\" stroke-opacity=\"1\" stroke-linejoin=\"round\" stroke-linecap=\"butt\" fill=\"#FFFFFF\" fill-opacity=\"1\"/></svg>","code":"$('#svg_1').find('#20').attr('data-toggle','tooltip').attr('title','Mazda RX4').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#21').attr('data-toggle','tooltip').attr('title','Mazda RX4 Wag').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#22').attr('data-toggle','tooltip').attr('title','Datsun 710').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#23').attr('data-toggle','tooltip').attr('title','Hornet 4 Drive').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#24').attr('data-toggle','tooltip').attr('title','Hornet Sportabout').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#25').attr('data-toggle','tooltip').attr('title','Valiant').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#26').attr('data-toggle','tooltip').attr('title','Duster 360').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#27').attr('data-toggle','tooltip').attr('title','Merc 240D').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#28').attr('data-toggle','tooltip').attr('title','Merc 230').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#29').attr('data-toggle','tooltip').attr('title','Merc 280').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#30').attr('data-toggle','tooltip').attr('title','Merc 280C').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#31').attr('data-toggle','tooltip').attr('title','Merc 450SE').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#32').attr('data-toggle','tooltip').attr('title','Merc 450SL').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#33').attr('data-toggle','tooltip').attr('title','Merc 450SLC').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#34').attr('data-toggle','tooltip').attr('title','Cadillac Fleetwood').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#35').attr('data-toggle','tooltip').attr('title','Lincoln Continental').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#36').attr('data-toggle','tooltip').attr('title','Chrysler Imperial').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#37').attr('data-toggle','tooltip').attr('title','Fiat 128').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#38').attr('data-toggle','tooltip').attr('title','Honda Civic').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#39').attr('data-toggle','tooltip').attr('title','Toyota Corolla').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#40').attr('data-toggle','tooltip').attr('title','Toyota Corona').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#41').attr('data-toggle','tooltip').attr('title','Dodge Challenger').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#42').attr('data-toggle','tooltip').attr('title','AMC Javelin').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#43').attr('data-toggle','tooltip').attr('title','Camaro Z28').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#44').attr('data-toggle','tooltip').attr('title','Pontiac Firebird').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#45').attr('data-toggle','tooltip').attr('title','Fiat X1-9').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#46').attr('data-toggle','tooltip').attr('title','Porsche 914-2').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#47').attr('data-toggle','tooltip').attr('title','Lotus Europa').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#48').attr('data-toggle','tooltip').attr('title','Ford Pantera L').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#49').attr('data-toggle','tooltip').attr('title','Ferrari Dino').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#50').attr('data-toggle','tooltip').attr('title','Maserati Bora').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});$('#svg_1').find('#51').attr('data-toggle','tooltip').attr('title','Volvo 142E').attr('data-html','true').tooltip({'container':'body','placement':'bottom'});","canvas_id":1,"data_id_class":"cl48fa4d14038f","hover_css":"{fill:orange;}"},"evals":[]}</script></p>
</div> <!-- col-sm-8 -->
</div> <!-- row -->
</div>
</div> <!-- showcase-header -->
<!--/html_preserve-->
</div> <!-- page-body -->
<footer>
<div> </div>
<div> </div>
<div class="text-muted">
Design inspired by <a href="http://www.htmlwidgets.org/index.html" target="_blank">Ramnath Vaidyanathan, Kenton Russell, and RStudio, Inc</a>.
</div>
<div class="text-muted">
Maintained by <a href="http://www.danielemaasit.com" target="_blank">Daniel Emaasit</a>.
</div>
<div class="text-muted">
Copyright © 2016 The R Community.
</div>
</footer>
<script>
// manage active state of headres and navigation based on current page
$(document).ready(function () {
// compute name of page
href = window.location.pathname;
href = href.substr(href.lastIndexOf('/') + 1);
if (href == "")
href = "index.html";
// main navigation and headers
if (href.startsWith("index")) {
$('#nav-home').addClass('active');
$('.title').addClass('hidden');
} else if (href.startsWith("showcase")) {
$('#nav-showcase').addClass('active');
$("#page-body").detach().appendTo('#showcase-body');
$('.showcase-header').removeClass('hidden');
$('.title').addClass('hidden');
} else if (href.startsWith("develop")) {
$('#nav-develop').addClass('active');
}
// submenu navigation (used by showcase and develop)
$('.list-group a[href="' + href + '"]').addClass('active');
});
</script>
</div>
<script>
// add bootstrap table styles to pandoc tables
$(document).ready(function () {
$('tr.header').parent('thead').parent('table').addClass('table table-condensed');
});
</script>
</body>
</html>