-
Notifications
You must be signed in to change notification settings - Fork 0
/
presidentielle.html
26 lines (24 loc) · 989 Bytes
/
presidentielle.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
<html>
<head>
<meta charset="utf8" />
<title>Sondages présidentielle 2017</title>
<link rel="stylesheet" href="presidentielle.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"/>
</head>
<body>
<h1>Résultats des sondages IFOP pour la présidentielle 2017</h1>
<div class="chartContainer">
<span id="loading">Chargement...</span>
<canvas id="pieChart" width="1024" height="500"></canvas>
</div>
<div class="chartContainer">
<canvas id="historicChart" width="1024" height="500"></canvas>
</div>
<footer>
Source des données: <a href="http://www.ifop.fr/?option=com_publication&type=poll&id=3655">IFOP</a>.
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment-with-locales.min.js"></script>
<script async src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
<script async src="presidentielle.js"></script>
</body>
</html>