-
Notifications
You must be signed in to change notification settings - Fork 14
/
rank.html
38 lines (37 loc) · 1.87 KB
/
rank.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
<!DOCTYPE html>
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]><html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]><html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Idescat Visual sample page</title>
<link href="../visual.css" rel="stylesheet" type="text/css" />
<script src="../lazyvisual.js"></script>
<script src="../visual.setup.js"></script>
</head>
<body>
<div id="visual" class="visual"></div>
<script>
visual(
{
lang: "en", //Default language is Catalan ("ca"). Set in visual.setup.js
title: "RANK example (40 data)",
geo: "Catalonia",
time: "2009",
unit: {symbol: "K"},
dec: 0,
axis: {
ticks: {
y: false,
x: true
}
},
type: "rank",
data: [ ["Val d'Aran", 20300], ["Pallars Jussà", 19300], ["Ripollès", 19100], ["Urgell", 18900], ["Conca de Barberà", 18800], ["Gironès", 18700], ["Pallars Sobirà", 18700], ["Alta Ribagorça", 18600], ["Cerdanya", 18600], ["Garrotxa", 18600], ["Pla de l'Estany", 18600], ["Barcelonès", 18300], ["Priorat", 18300], ["Ribera d'Ebre", 18200], ["Segrià ", 18100], ["Garrigues", 18000], ["Baix Empordà", 17700], ["Maresme", 17700], ["Alt Camp", 17600], ["Noguera", 17600], ["Tarragonès", 17600], ["Terra Alta", 17600], ["Segarra", 17400], ["Alt Empordà", 17300], ["Baix Penedès", 17300], ["Solsonès", 17300], ["Vallès Occidental", 17300], ["Berguedà", 17200], ["Baix Camp", 17100], ["Pla d'Urgell", 17100], ["Montsià", 17000], ["Alt Penedès", 16900], ["Bages", 16900], ["Baix Ebre", 16900], ["Garraf", 16900], ["Alt Urgell", 16600], ["Selva", 16300], ["Osona", 16200], ["Vallès Oriental", 16200], ["Baix Llobregat", 16000], ["Anoia", 15800] ]
}
);
</script>
</body>
</html>