-
Notifications
You must be signed in to change notification settings - Fork 7
/
index-fr.html
392 lines (361 loc) · 14.7 KB
/
index-fr.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
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title>Données, indicateurs, graphiques</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap theme -->
<link href="bootstrap-3.3.7-dist/css/bootstrap-theme.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body id="univariate">
<!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-brand" href="#"><span class="glyphicon glyphicon-equalizer" aria-hidden="true"></span></div>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Univarié</a></li>
<li><a href="bivariate-fr.html">Bivarié</a></li>
<li><a href="about-fr.html">À propos</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html">en</a></li>
<li class="active"><a href="#">fr</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container-fluid">
<!-- - Tabs -->
<div class="row">
<div class="col-md-4 col-lg-3 sidebar">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<!-- Panel données -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingData">
<h4 class="panel-title">
<span class="glyphicon glyphicon-th" aria-hidden="true"></span>
<a role="button" data-toggle="collapse" href="#collapseData" aria-expanded="true" aria-controls="collapseData">
Données
</a>
</h4>
</div>
<div id="collapseData" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingData">
<div class="panel-body">
<!-- Formulaire données -->
<div>
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#tab-data-manual" aria-controls="tab-data-manual" role="tab" data-toggle="tab">Manuelles</a></li>
<li role="presentation"><a href="#tab-data-random" aria-controls="tab-data-random" role="tab" data-toggle="tab">Aléatoires</a></li>
<li role="presentation"><a href="#tab-dataset" aria-controls="tab-dataset" role="tab" data-toggle="tab">Jeu de données</a></li>
</ul>
<div class="tab-content">
<!-- Données manuelles -->
<div role="tabpanel" class="tab-pane fade in active" id="tab-data-manual">
<form id="form_manual_data" action="#">
<div class="form-group">
<label for="data_manual">Données séparées par des virgules</label>
<input id="data_manual" type="text" class="form-control" placeholder="Ex : 125, 57, 198, 12, 45...">
</div>
<button type="submit" class="btn btn-primary btn-sm" id="data_manual_submit">Mettre à jour</button>
</form>
</div>
<!-- Données aléatoires -->
<div role="tabpanel" class="tab-pane fade" id="tab-data-random">
<form id="form_random_data" action="#">
<div class="form-group">
<label for="data_law">Type de loi</label>
<select class="form-control" id="data_law">
<option value="uniforme" selected>Loi uniforme</option>
<option value="normale">Loi normale</option>
</select>
</div>
<div class="form-horizontal" id="data_uniform_args">
<div class="form-group">
<label for="data_uniform_min" class="col-sm-5 control-label">Minimum</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="data_uniform_min" value="0" />
</div>
</div>
<div class="form-group">
<label for="data_uniform_max" class="col-sm-5 control-label">Maximum</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="data_uniform_max" value="100" />
</div>
</div>
</div>
<div class="form-horizontal" id="data_normal_args">
<div class="form-group">
<label for="data_normal_mean" class="col-sm-5 control-label">Moyenne</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="data_normal_mean" value="50" />
</div>
</div>
<div class="form-group">
<label for="data_normal_sd" class="col-sm-5 control-label">Écart-type</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="data_normal_sd" value="5" />
</div>
</div>
</div>
<div class="form-group">
<label for="nb_values">Nombre d'observations</label>
<input type="number" class="form-control" id="nb_values" min="2" max="5000" value="100" />
</div>
<button class="btn btn-primary btn-sm" type="submit" id="data_random_submit">Générer</button>
</form>
</div>
<!-- Jeux de données -->
<div role="tabpanel" class="tab-pane fade in" id="tab-dataset">
<form id="form_dataset" action="#">
<div class="form-group">
<label for="data_dataset">Jeu de données</label>
<select class="form-control" id="data_dataset">
<option value="life_expectancy_2014" selected>Espérance de vie par pays (2014)</option>
<option value="age_meres_2015">Âge de la mère à la naissance (2015)</option>
<option value="population_departements_2013">Population par département (2013)</option>
<option value="densite_departements_2013">Densité (hab/km²) par département (2013)</option>
<option value="kung_heights">Tailles de personnes de l'ethnie !Kung (années 60)</option>
</select>
</div>
<button type="submit" class="btn btn-primary btn-sm" id="data_dataset_submit">Charger</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Panel points -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingPoints">
<h4 class="panel-title">
<span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span>
<a class="collapsed" role="button" data-toggle="collapse" href="#collapsePoints" aria-expanded="false" aria-controls="collapsePoints">
Points
</a>
</h4>
</div>
<div id="collapsePoints" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingPoints">
<div class="panel-body">
<div class="form-group">
<label for="points_size">Taille des points</label>
<input id="points_size" type="range" min="5" max="500" value="120" />
</div>
<div class="form-group">
<label for="points_opacity">Opacité des points</label>
<input id="points_opacity" type="range" min="0.01" max="1" value="0.8" step="0.01"/>
</div>
<div class="checkbox">
<label>
<input id="points_jitter" type="checkbox" value=""> Agiter les points
</label>
</div>
<div class="checkbox" id="points_show_labels">
<label>
<input id="show_labels" type="checkbox" value=""> Afficher les labels
</label>
</div>
</div>
</div>
</div>
<!-- Panel indicateurs -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingIndicateurs">
<h4 class="panel-title">
<span class="glyphicon glyphicon-map-marker" aria-hidden="true"></span>
<a class="collapsed" role="button" data-toggle="collapse" href="#collapseIndicateurs" aria-expanded="false" aria-controls="collapseIndicateurs">
Indicateurs
</a>
</h4>
</div>
<div id="collapseIndicateurs" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingIndicateurs">
<div class="panel-body">
<div class="checkbox">
<label>
<input id="stats_mean" type="checkbox"> Moyenne
</label>
</div>
<div class="checkbox">
<label>
<input id="stats_median" type="checkbox"> Médiane
</label>
</div>
<div class="checkbox">
<label>
<input id="stats_quartiles" type="checkbox"> Quartiles
</label>
</div>
<div class="checkbox">
<label>
<input id="stats_sd" type="checkbox"> Écart-type
</label>
</div>
</div>
</div>
</div>
<!-- Panel graphiques -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingGraphiques">
<h4 class="panel-title">
<span class="glyphicon glyphicon-stats" aria-hidden="true"></span>
<a class="collapsed" role="button" data-toggle="collapse" href="#collapseGraphiques" aria-expanded="false" aria-controls="collapseGraphiques">
Graphiques
</a>
</h4>
</div>
<div id="collapseGraphiques" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingGraphiques">
<div class="panel-body">
<div class="form-group">
<label for="graph_type">Graphique à afficher</label>
<select class="form-control" id="graph_type">
<option value="none" selected>Aucun</option>
<option value="hist">Histogramme</option>
<option value="boxplot">Boxplot</option>
<option value="kde">Estimation de densité</option>
</select>
</div>
<div class="form-horizontal" id="graph_hist_args">
<div class="form-group">
<label for="hist_classes" class="col-sm-7 control-label">Nombre de classes</label>
<div class="col-sm-5">
<input type="number" class="form-control" id="hist_classes" min="2" max="1000" value="20" />
</div>
</div>
<div class="checkbox col-sm-12">
<label>
<input id="hist_exact" type="checkbox" checked> Classes exactes
</label>
</div>
<div class="checkbox col-sm-12">
<label>
<input id="hist_percent" type="checkbox"> Pourcentages
</label>
</div>
<div class="checkbox col-sm-12">
<label>
<input id="hist_labels" type="checkbox" checked> Afficher les valeurs
</label>
</div>
</div>
<div class="form-horizontal" id="graph_kde_args">
<div class="form-group">
<label for="kde_scale" class="col-sm-7 control-label">Bande passante</label>
<div class="col-sm-5">
<input type="number" class="form-control" id="kde_scale" min="0" value="7" />
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Panel axe -->
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingAxe">
<h4 class="panel-title">
<span class="glyphicon glyphicon-resize-horizontal" aria-hidden="true"></span>
<a class="collapsed" role="button" data-toggle="collapse" href="#collapseAxe" aria-expanded="false" aria-controls="collapseAxe">
Axes
</a>
</h4>
</div>
<div id="collapseAxe" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingAxe">
<div class="panel-body">
<div class="checkbox">
<label>
<input id="x_manual" type="checkbox"> Limites manuelles pour x
</label>
</div>
<div class="form-horizontal" id="x_limits">
<div class="form-group">
<label for="x_min" class="col-sm-5 control-label">x minimum</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="x_min" value="0" />
</div>
</div>
<div class="form-group">
<label for="x_max" class="col-sm-5 control-label">x maximum</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="x_max" value="100" />
</div>
</div>
</div>
<div class="checkbox">
<label>
<input id="y_manual" type="checkbox"> Limites manuelles pour y
</label>
</div>
<div class="form-horizontal" id="y_limits">
<div class="form-group">
<label for="y_min" class="col-sm-5 control-label">y minimum</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="y_min" value="0" />
</div>
</div>
<div class="form-group">
<label for="y_max" class="col-sm-5 control-label">y maximum</label>
<div class="col-sm-7">
<input type="number" class="form-control" id="y_max" value="100" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Plot -->
<div class="col-md-8 col-lg-9">
<div id="plot">
</div>
</div>
</div>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script src="js/lib/l10n.js"></script>
<script>String.locale = "fr";</script>
<script src="js/l10n/localizations.js"></script>
<script src="js/lib/d3.min.js"></script>
<!-- init jquery js -->
<script src="js/univariate/init.js"></script>
<!-- datasets js -->
<script src="data/univariate.js"></script>
<!-- plot js -->
<script src="js/univariate/plot-utils.js"></script>
<script src="js/univariate/plot-export.js"></script>
<script src="js/univariate/plot-axes.js"></script>
<script src="js/univariate/plot-setup.js"></script>
<script src="js/univariate/plot-dots.js"></script>
<script src="js/univariate/plot-lines.js"></script>
<script src="js/univariate/plot-stats.js"></script>
<script src="js/univariate/plot-histogram.js"></script>
<script src="js/univariate/plot-boxplot.js"></script>
<script src="js/univariate/plot-kde.js"></script>
<script src="js/univariate/plot.js"></script>
</body>
</html>