-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
104 lines (86 loc) · 3.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AltViz group</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="AltViz">
<meta name="author" content="Karthik Ram et al">
<script src="http://use.edgefonts.net/source-code-pro.js"></script>
<script src="http://use.edgefonts.net/quattrocento-sans.js"></script>
<link href="assets/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="assets/styles/github.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="assets/jquery.peity.js"></script>
<script src="assets/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script>
$(function() {
// Just the defaults.
$("span.pie").peity("pie")
$(".line").peity("line")
$(".bar").peity("bar")
// Set a custom colour and/or diameter.
$(".diameter span").peity("pie", {
colours: function() {
return ["#dddddd", this.getAttribute("data-colour")]
},
diameter: function() {
return this.getAttribute("data-diameter")
}
})
// Simple evented example.
$("select").change(function(){
$(this)
.siblings("span.graph")
.text($(this).val() + "/" + 5).change()
}).change()
var chartUpdate = function(event, value) {
$("#notice").text(
"Chart updated: " + value
)
}
$("span.graph").peity("pie").bind("chart:changed", chartUpdate)
})
</script>
</head>
<body>
<div class="span11 offset1">
<div class="row">
<br><br> <h1>AltViz hack group</h1>
</div>
<div class"row">Visualizations on article level metrics.
<br><br>
<div>
<a href="https://github.com/karthikram/altviz/" style="color:#ffffff"> <button class="btn btn-success btn-large" style="display: block; width: 100%;"><i class="icon-white icon-download"></i>Download from GitHub</button></a>
</div>
<hr class="soften">
</div>
<div class="row">
<h2>Article level spark lines (example)</h2>
Fellatio by Fruit Bats Prolongs Copulation Time <span class="line">5,3,9,6,5,9,7,3,5,2</span><br>
Fellatio by Fruit Bats Prolongs Copulation Time <span class="bar">5,3,2,-1,-3,-2,2,3,5,2</span>
<br><br><br>
</div>
<div class="row">
<h2>Visualizating many articles with R and heatmaps</h2>
<img src="heatmap.png">
<br><br><br>
</div>
</div>
</div>
<script src="assets/js/jquery.js"></script>
<script src="assets/js/bootstrap-transition.js"></script>
<script src="assets/js/bootstrap-alert.js"></script>
<script src="assets/js/bootstrap-modal.js"></script>
<script src="assets/js/bootstrap-dropdown.js"></script>
<script src="assets/js/bootstrap-scrollspy.js"></script>
<script src="assets/js/bootstrap-tab.js"></script>
<script src="assets/js/bootstrap-tooltip.js"></script>
<script src="assets/js/bootstrap-popover.js"></script>
<script src="assets/js/bootstrap-button.js"></script>
<script src="assets/js/bootstrap-collapse.js"></script>
<script src="assets/js/bootstrap-carousel.js"></script>
<script src="assets/js/bootstrap-typeahead.js"></script>
</body>
</html>