-
Notifications
You must be signed in to change notification settings - Fork 0
/
overtimetopics.html
162 lines (134 loc) · 5.66 KB
/
overtimetopics.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
<!doctype html>
<head>
<title>Quintessence Alpha: Text Topics</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="./resources/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.1/css/ion.rangeSlider.min.css"/>
<link href="https://fonts.googleapis.com/css?family=Libre+Baskerville&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./style/top_documents.css">
<link rel="stylesheet" type="text/css" href="./style/style.css">
<link rel="stylesheet" type="text/css" href="./style/topics_style.css">
<link rel="stylesheet" type="text/css" href="./style/sidebar.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.1/js/ion.rangeSlider.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
<script src="./js/topics/topics_decades.js"></script>
<script src="./js/topics/update_topics_info.js"></script>
<script src="./js/topics/utils.js"></script>
<script src="./js/topics/layouts.js"></script>
<script src="./js/topics/plot_topic_proportion.js"></script>
<script src="./js/topics/plot_topic_terms.js"></script>
<script src="./js/topics/plot_lda_pca_decades.js"></script>
<script>
$( function() {
$( "#categoryhover" ).selectmenu();
$( "#decade_dropdown" ).selectmenu();
});
</script>
<style>
.topic_terms .yaxislayer-above {
cursor: pointer;
pointer-events: all;
}
.topic_terms g.draglayer g.xy {
display: none;
}
</style>
</head>
<body style="width: 1500px; margin: 0; padding; 0;">
<div class="controls" >
<!-- LDA PCA CONTROLS -->
<div class="lda_controls">
<div style="display: flex; flex-direction: row; height: 40px">
<form>
<label for="topic">Topic:</label>
<input name="topic" class="lda-input" id="topic-input" placeholder="25"/>
</form>
<button class="control_button" id="prev" style="margin-left: 0px" > ← </button>
<button class="control_button" id="next" style="margin-left: 10px; margin-right: 10px"> → </button>
<form>
<label for="term">Term:</label>
<input name="term" class="lda-input" id="term-input" placeholder="Starting typing a word here"/>
</form>
<button class="control_button" id="reset-bubbles"> Reset</button>
</div>
<div id="categoryhover_wrapper" style="margin-left: 10px; height: 40px">
<label for="categoryhover"> Hover info:</label>
<select name="categoryhover" id="categoryhover">
<option value="topAuthors">Top Authors</option>
<option selected="selected" value="topKeywords">Top Keywords</option>
<option value="topLocations">Top Locations</option>
</select>
</div>
</div>
<!-- /LDA PCA CONTROLS -->
<!-- TOPICDETAILS CONTROLS -->
<ul id="topicdetails_tabs" class="topicdetails_tabs">
<li><a href="#topic_terms">Terms</a></li>
<li><a href="#topic_info">Info</a></li>
</ul>
<!-- /TOPICDETAILS CONTROLS -->
</div> <!-- CONTROLS i-->
<div class="ldavis_container">
<div id="ldapca-plot" class="ldapca"> </div>
<div class="topicdetails" style="border-left: 2px solid #ccc; display: flex; flex-direction: column; width: 550px;">
<h2 id="selected_topic"> </h2>
<div id="topic_terms" class="container_details topic_terms"> <div id="topic_terms_plot"> </div> </div>
<div id="topic_info" class="container_details topic_info">
<div style="margin: 20px;" id="topic_proportions_plot"> </div>
<div id="decade_dropdown_wrapper" style="margin-bottom: 20px;">
<select size="5" name="decade_dropdown" id="decade_dropdown">
<option selected="selected" value="full"> full </option>
<option value="1470"> 1470 </option>
<option value="1480"> 1480 </option>
<option value="1490"> 1490 </option>
<option value="1500"> 1500 </option>
<option value="1510"> 1510 </option>
<option value="1520"> 1520 </option>
<option value="1530"> 1530 </option>
<option value="1540"> 1540 </option>
<option value="1550"> 1550 </option>
<option value="1560"> 1560 </option>
<option value="1570"> 1570 </option>
<option value="1580"> 1580 </option>
<option value="1590"> 1590 </option>
<option value="1600"> 1600 </option>
<option value="1610"> 1610 </option>
<option value="1620"> 1620 </option>
<option value="1630"> 1630 </option>
<option value="1640"> 1640 </option>
<option value="1650"> 1650 </option>
<option value="1660"> 1660 </option>
<option value="1670"> 1670 </option>
<option value="1680"> 1680 </option>
<option value="1690"> 1690 </option>
<option value="1700"> 1700 </option>
</select>
</div>
<div id="info" style="display: flex; flex-direction: row">
<div>
<h3> Top Authors: </h3>
<div id="topAuthorsDecade"> </div>
</div>
<div>
<h3> Top Keywords: </h3>
<div id="topKeywordsDecade"> </div>
</div>
<div>
<h3> Top Locations: </h3>
<div id="topLocationsDecade"> </div>
</div>
</div>
</div>
</div>
<div class="overlay" id="overlay">
<div class="text">Loading Data</div>
</div>
</div>
<div style="display: none" id="topics"></div>
<div style="display: none" id="selectedTopic"></div>
</body>