-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
159 lines (132 loc) · 5.37 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Visualización de hoteles en Argentina</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/iThing-min.css" rel="stylesheet">
<link href="css/slider.css" rel="stylesheet">
<link href="css/bootstrap-select.min.css" rel="stylesheet">
<link href="css/bootstrap-glyphicons.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="js/nvd3/nv.d3.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<style>
text {
font: 12px sans-serif;
}
svg {
display: block;
}
svg text {
fill: white;
font-weight: bolder
}
#chart1 svg {
height: 300px;
min-width: 400px;
min-height: 100px;
/*
margin: 10px;
Minimum height and width is a good idea to prevent negative SVG dimensions...
For example width should be =< margin.left + margin.right + 1,
of course 1 pixel for the entire chart would not be very useful, BUT should not have errors
*/
}
</style>
</head>
<body>
<a href="https://github.com/Nardoz/HotelViz"><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>
<div class="container">
<div id="main-container" class="row">
<div id="map-column" class="col-lg-6">
<div id="map-container">
</div>
</div>
<div class="col-lg-6">
<h1>HotelViz</h1>
<div id="slider-container" class="row">
<div class="col-lg-12">
<div id="dateSelector" style="margin-top:20px"></div>
<input type="hidden" id="fecha-desde" value="04-2012" />
<input type="hidden" id="fecha-hasta" value="07-2012" />
</div>
</div>
<div class="row">
<div class="col-lg-12">
<select id="filter" class="">
<option value="establecimientos">Establecimientos</option>
<option value="viajeros">Viajeros</option>
<option value="estadia">Estadía promedio</option>
<option value="habitaciones_disp">Habitaciones Disponibles</option>
<option value="habitaciones_ocup">Habitaciones Ocupadas</option>
<option value="plazas_disp">Plazas Disponibles</option>
<option value="plazas_ocup">Plazas Ocupadas</option>
</select>
<button id="play" class="btn btn-info" style="margin-top:-10px">►</button>
</div>
</div>
<div class="row">
<br />
<br />
<h2>Ranking de ciudades</h2>
<br />
<div class="col-lg-12">
<div id="chart1">
<svg></svg>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p class="text-center">
Equipo:
<a href="http://twitter.com/palamago" target="_blank">@palamago</a>,
<a href="http://twitter.com/alan_reid" target="_blank">@alan_reid</a>,
<a href="http://twitter.com/develsas" target="_blank">@develsas</a>,
<a href="http://twitter.com/wfrank" target="_blank">@wfrank</a>
| Powered by <a href="http://www.nardoz.com" target="_blank">#NARDOZ</a>
</p>
<p class="text-center">
Construído con información del Ministerio de Turismo<br />
en el Hackaton ProgramAR (3/8/2013) | <a href="http://www.datospublicos.gob.ar" target="_blank">Datos Públicos</a>
</p>
</div>
</div>
<a id="full-screen-btn" class="btn btn-default btn-mini"><span class="glyphicon glyphicon-resize-full"></span></a>
<script src="js/underscore.js"></script>
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="js/jQDateRangeSlider-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/bootstrap-select.min.js"></script>
<script src="js/topojson.v1.min.js"></script>
<script src="js/d3.min.js"></script>
<script src="js/d3.datavizTurismo.js"></script>
<script src="js/filter.js"></script>
<script src="js/main.js"></script>
<script src="js/nvd3/nv.d3.js"></script>
<!-- including all the components so I don't have to minify every time I test in development -->
<script src="js/nvd3/tooltip.js"></script>
<script src="js/nvd3/utils.js"></script>
<script src="js/nvd3/axis.js"></script>
<script src="js/nvd3/multiBarHorizontalChart.js"></script>
<script src="js/barChart.js"></script>
<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-42924796-1', 'nardoz.com');
ga('send', 'pageview');
</script>
</body>
</html>