forked from palamago/country-population
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (76 loc) · 3.56 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Country Population | D3.js simple experience</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Country Population | D3.js simple experience">
<meta name="author" content="Pablo H. Paladino @palamago">
<!-- CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/slider.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-18158765-6', 'palamago.com.ar');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="container">
<div id="main-container" class="row">
<div class="col-lg-1">
<input id="slider" type="text">
</div>
<div class="col-lg-5">
<div id="map-container">
</div>
</div>
<div class="col-lg-6">
<h1>Argentina <small>, un país POCO federal...</small></h1>
<p>Mueva el slider de la izquierda para interactuar con el mapa y actualizar los valores.</p>
<div class="well">
<h3>Filtros & Orden</h3>
<p>Filtro: TO-DO</p>
<p>Orden: TO-DO</p>
<hr/>
<h3>Total</h3>
<p>Población: <span data-bind="text: poblacionTotal"></span></p>
<p>Superficie: <span data-bind="text: superficieTotal"></span> Km²</p>
<hr/>
<h3>Selección</h3>
<p>Porcentaje: <span data-bind="text: percentageTotal"></span></p>
<p>Población: <span data-bind="text: cantSelected"></span></p>
<p>Superficie Ocupada: <span data-bind="text: supSelected"></span> Km²</p>
<p>Porcentaje de superficie Ocupada: <span data-bind="text: percentageSupSelected"></span></p>
<h3>Conclusión</h3>
<p>TO-DO</p>
</div>
</div>
</div>
<div class="footer">
<p>
Creado por <a href="http://twitter.com/palamago" target="_blank">@palamago</a> con información del <a href="http://www.censo2010.indec.gov.ar/" target="_blank">Censo 2010</a> basado en la <a href="http://interactivos.lanacion.com.ar/censo/" target="_blank">aplicación interactiva</a> creada por el equipo de <a href="http://twitter.com/LNData" target="_blank">@LNData</a>
</p>
</div>
</div> <!-- /container -->
<a href="https://github.com/palamago/country-population"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
<script src="js/jquery-2.0.3.min.js"></script>
<script src='js/knockout-2.3.0.js'></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-slider.js"></script>
<script src="js/topojson.v1.min.js"></script>
<script src="js/d3.min.js"></script>
<script src="js/d3.populationMap.js"></script>
<script src="js/main.js"></script>
</body>
</html>