-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
385 lines (379 loc) · 10.7 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="https://cdn.plot.ly/plotly-2.18.0.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>Presupuesto UChile 2022</title>
</head>
<body>
<div id="myDiv" style="width: 100%; height: 100vh"></div>
<footer class="container-fluid bg-dark text-center p-3">
<div>
La información en esta página fue obtenida en la sección de presupuestos en
<a class="fw-bold" href="https://www.uchile.cl/transparencia">Transparecia UChile</a>
</div>
<hr>
Link directo al <a class="fw-bold" href="https://faq.cadcc.cl/es/latest/FAQ%20Impresoras/">Presupuesto 2022</a>
<hr>
Cualquier problema, sugerencia o comentario puedes escribir a
<a href="mailto:galarcon@dcc.uchile.cl" target="_blank" class="fw-bold">galarcon@dcc.uchile.cl</a>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
</body>
<script>
var data = {
type: "sankey",
orientation: "h",
valuesuffix: "$",
textfont: {
size: 10,
},
node: {
pad: 10,
thickness: 20,
line: {
color: "black",
width: 0.0,
},
label: [
"Ingresos", // 0
"Ingresos de Operación", // 1
"Venta de Bienes y Servicios", // 2
"Renta de Inversiones", // 3
"Aranceles de Matricula", // 4
"Derechos Basicos de Matricula", // 5
"Aranceles por Pago Directo", // 6
"Aranceles de Postgrado", // 7
"Venta de Activos", // 8
"Activos Físicos", // 9
"Activos Financieros", // 10
"Transferencias", // 11
"Del Sector Privado", // 12
"De Organismo del Sector Público y Entidades Públicas", // 13
"Endeudamiento", // 14
"Interno", // 15
"Externo", // 16
"Proveedores", // 17
"Financiamiento Fiscal", //18
"Aporte Fiscal Directo", //19
"Aporte Fiscal Indirecto", //20
"Pagarés Universitarios de la Tesorería General de la Republica", //21
"Recuperación de Préstamos por Crédito Fiscal", //22
"Recuperación de otros Préstamos", //23
"Préstamos Inciso Tercero, Artículo 70 Ley Nº 18.591", //24
"Otros Préstamos", //25
"Otros Ingresos - Leyes Especiales", //26
"Aporte de Lotería", //27
"Otros Ingresos", //28
"Saldo Inicial de Caja", //29
// GASTOS
"Gastos de Operación", //30
"Gastos en Personal", //31
"Directivos", //32
"Académicos", //33
"No Académicos", //34
"Honorarios", //35
"Viáticos", //36
"Horas Extraordinarias", //37
"Jornales", //38
"Aportes Patronales", //39
"Compra de Bienes y Servicios", //40
"Consumos Básicos", //41
"Material de Enseñanza", //42
"Servicio de Impresión, Publicidad y Difusión", // 43
"Arriendo de Inmuebles y Otros Arriendos", //44
"Gastos en Computación", //45
"Otros Servicios", //46
"Transferencias", //47
"Coorporaciones de Televisión", //48
"Becas Estudiantiles", //49
"Fondos Centrales de Investigación", //50
"Fondos Centrales de Extensión", //51
"Otras Transferencias", //52
"Consejo de Rectores", //53
"Centro de Alumnos", //54
"Otros", //55
"Gastos de Inversión", //56
"Inversión Real", //57
"Maquinarias y Equipos", //58
"Vehiculos", //59
"Terrenos y Edificios", //60
"Proyectos de Inversion", //61
"Operaciones de Leasing", //62
"Inversión Financiera", //63
"Préstamos Estudiantiles", //64
"Préstamos Inciso Tercero, Artículo 70, Ley N° 18.591", // 65
"Otros Préstamos", //66
"Compra de Títulos y Valores", //67
"Gastos de Amortizacion", //68
"Servicio de la Deuda", //69
"Interna", //70
"Externa", //71
"Proveedores", //72
"Compromisos Pendientes", //73
"Otros", //74
"Saldo Final de Caja", //75
],
color: [
"#d1442f",
"#214a91",
"#397a4c",
"#397a4c",
"#397a4c",
"#f6d455",
"#f6d455",
"#f6d455",
"#214a91",
"#397a4c",
"#397a4c",
"#214a91",
"#397a4c",
"#397a4c",
"#214a91",
"#397a4c",
"#397a4c",
"#397a4c",
"#214a91",
"#397a4c",
"#397a4c",
"#397a4c",
"#397a4c",
"#214a91",
"#397a4c",
"#397a4c",
"#214a91",
"#397a4c",
"#397a4c",
"#214a91",
// GASTOS
"#214a91",
"#397a4c",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#397a4c",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#397a4c",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"orange",
"orange",
"orange",
"#214a91",
"#397a4c",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#f6d455",
"#397a4c",
"#f6d455",
"orange",
"orange",
"#f6d455",
"#214a91",
"#397a4c",
"#f6d455",
"#f6d455",
"#f6d455",
"#397a4c",
"#214a91",
"#397a4c",
],
},
link: {
target: [
0,
1,
1,
1,
4,
4,
4,
0,
8,
8,
0,
11,
11,
0,
14,
14,
14,
0,
18,
18,
18,
18,
0,
23,
23,
0,
26,
26,
0,
// GASTOS
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,
],
source: [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,
// GASTOS
0,
30,
31,
31,
31,
31,
31,
31,
31,
31,
30,
40,
40,
40,
40,
40,
40,
30,
47,
47,
47,
47,
47,
52,
52,
52,
0,
56,
57,
57,
57,
57,
57,
56,
63,
64,
64,
63,
0,
68,
69,
69,
69,
68,
0,
74,
],
value: [
451039032,
246866616,
1154665,
203017751,
7197961,
161180315,
34639475,
6907,
6907,
0,
136790155,
1794299,
134995856,
0,
0,
0,
0,
40725336,
40725336,
0,
0,
0,
3384564,
3384564,
0,
7798394,
281541,
7516853,
246666605,
// GASTOS
600449914,
366699862,
13428867,
131404336,
166191291,
49112202,
1366309,
5196857,
0,
0,
145204047,
8251030,
3856990,
4643740,
4478396,
3804463,
120169428,
88546005,
0,
88008539,
0,
0,
537466,
41854,
0,
495612,
55329672,
51945108,
26140822,
145482,
600000,
23928244,
1130560,
3384564,
3384564,
3384564,
0,
0,
42945333,
6907659,
6907659,
0,
0,
36037674,
187686074,
187686074,
],
},
};
var data = [data];
var layout = {
title: "Presupuesto Universidad de Chile 2022",
font: {
size: 13,
},
};
var config = {
responsive: true,
}
Plotly.react("myDiv", data, layout, config);
</script>
</html>