-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
109 lines (95 loc) · 4.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Open Data Innovation (CW1)</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles/bootstrap.min.css" />
<link rel="stylesheet" href="styles/dc.css" />
<link rel="stylesheet" href="styles/style.css" />
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="50">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">US Government Projects</a>
</div>
</div>
</nav>
<div class="container-fluid text-center">
<div class="row" style="padding-top:50px;">
<div class="col-sm-9">
<div class="chart-wrapper">
<div class="chart-title">
Agency Stats
<select id="opt-agency" >
<option value='count' >Number of projects</option>
<option value='cost' >Total cost</option>
<option value='duration' >Mean duration</option>
</select>
</div>
<div class="chart-stage">
<div id="agencyChart">
<div class="reset" style="visibility: hidden;">Selected Agencies: <span class="filter"></span>
<a href="javascript:agencyChart.filterAll();dc.redrawAll();">reset</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="chart-wrapper">
<div class="chart-title">
Projects on schedule
</div>
<div class="chart-stage">
<div id="pieChartSchedule"></div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-9">
<div class="chart-wrapper">
<div class="chart-title">
Timeline
</div>
<div class="chart-stage">
<div id="dateChart">
<div class="reset" style="visibility: hidden;">Date range: <span class="filter"></span>
<a href="javascript:dateChart.filterAll();dc.redrawAll();">reset</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="chart-wrapper">
<div class="chart-title">
Projects on budget
</div>
<div class="chart-stage">
<div id="pieChartCost"></div>
</div>
</div>
</div>
</div>
<div class="alert alert-info">
<div id='counterCount'>
<span class='filter-count'></span> selected out of <span class='total-count'></span> projects.
</div>
<span style="font-size: large" id="counter"></span>
<span id="counter-text" style="display: none"> selected.</span>
</div>
</div>
<footer class="container-fluid text-center">
<p>Copyright 2017 Marios Siganos</p>
</footer>
<!-- <script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> -->
<script type="text/javascript" src="scripts/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="scripts/d3.js"></script>
<script type="text/javascript" src="scripts/crossfilter.js"></script>
<script type="text/javascript" src="scripts/dc.js"></script>
<script type="text/javascript" src="scripts/script.js"></script>
</body>
</html>