-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
151 lines (151 loc) · 6.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dataverse Metrics</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<script src="https://code.jquery.com/jquery-3.7.0.min.js">
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<script src="d3plus.v1.9.8/js/d3.min.js">
</script>
<script src="d3plus.v1.9.8/js/d3plus.min.js">
</script>
<script src="jqtree.1.7.0/tree.jquery.js">
</script>
<script src="installationplots.js">
</script>
<link href="styles.css" media="screen" rel="stylesheet" type="text/css">
<link href="jqtree.1.7.0/jqtree.css" media="screen" rel="stylesheet" type="text/css">
</head>
<body>
<div id="metrics-page-header">
<div id="title"></div>
<div id="subtitle"> </div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12">
<div id='dvselect' class="card card-default">
<div id="selectString"></div>
<div id="dvtree"></div>
</div>
</div>
<div class="col-xs-12">
<div id="metrics-graphs" class="">
<div class="card card-default">
<div id="downloadSection" class="card-header">
<a data-bs-toggle="collapse" href="#downloadSectionBody" aria-expanded="true" aria-controls="downloadSection">
<i class="fa fa-chevron-down pull-right"></i>
<span class="metrics-section-title">Downloads</span>
</a>
</div>
<div id="downloadSectionBody" class="collapse show" aria-labelledby="downloadSection" aria-expanded="true" aria-controls="downloadSection">
<div class="card-body">
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="downloads" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="uniquedownloads" class="viz"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12">
<div id="uniquedownloads-by-pid" class="viz"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-12">
<div id="filedownloads-by-id" class="viz"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card card-default">
<div id="mdcSection" class="card-header">
<a data-bs-toggle="collapse" data-target="#mdcSectionBody" href="#mdcSectionBody" aria-expanded="true" aria-controls="mdcSection">
<i class="fa fa-chevron-down pull-right"></i>
<span class="metrics-section-title">Make Data Count</span>
</a>
</div>
<div id="mdcSectionBody" class="collapse show" aria-labelledby="mdcSection" aria-expanded="true" aria-controls="mdcSection">
<div class="card-body">
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="makedatacount-viewsTotal" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="makedatacount-downloadsTotal" class="viz"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="makedatacount-viewsUnique" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="makedatacount-downloadsUnique" class="viz"></div>
</div>
</div>
</div>
</div>
</div>
<div class="card card-default">
<div id="holdingsSection" class="card-header">
<a data-bs-toggle="collapse" href="#holdingsSectionBody" aria-expanded="true" aria-controls="holdingsSection">
<i class="fa fa-chevron-down pull-right"></i>
<span class="metrics-section-title">Holdings</span>
</a>
</div>
<div id="holdingsSectionBody" class="collapse show" aria-labelledby="holdingsSection">
<div class="card-body">
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="datasets" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="datasets-by-subject" class="viz"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="files" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="files-by-type-count" class="viz"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="files-by-type-size" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="dataverses" class="viz"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<div id="dataverses-by-subject" class="viz"></div>
</div>
<div class="col-xs-12 col-md-6">
<div id="dataverses-by-category" class="viz"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6">
<p id="global"></p>
<p class="help-block small">Data retrieved via <a href="http://guides.dataverse.org/en/latest/api" target="_blank">the Dataverse Metrics API</a></p>
<p class="help-block small">Feedback is welcome via <a href="https://github.com/gdcc/dv-metrics" target="_blank">https://github.com/gdcc/dv-metrics</a>
or <a href="https://dataverse.org/contact" target="_blank">any other channel</a>.</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>