-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
161 lines (138 loc) · 4.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="static/images/favicon.ico" type="image/x-icon">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="static/stylesheets/pygment_trac.css" media="screen">
<link rel="stylesheet" type="text/css" href="static/stylesheets/print.css" media="print">
<link rel="stylesheet" type="text/css" href="static/stylesheets/stylesheet.css" media="screen">
<title>VisML</title>
<script type="text/javascript" src="static/javascripts/d3.v3.js"></script>
<script src="static/javascripts/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="static/javascripts/jquery.tipsy.js"></script>
<link href="static/stylesheets/tipsy.css" rel="stylesheet" type="text/css" />
<link href="static/stylesheets/nv.d3.min.css" rel="stylesheet">
<script src="static/javascripts/nv.d3.min.js"></script>
<script src="static/javascripts/stream_layers.js"></script>
<style type="text/css">
*{
margin:0;
padding:0;
}
#wrapper{
display:-webkit-flex;
-webkit-justify-content:center;
display:flex;
justify-content:center;
}
#wrapper div{
-webkit-flex:1;
flex:1;
}
.legend rect {
fill:white;
stroke:black;
opacity:0.8;}
/*.bar {
fill: 'green';
}
*/
.axis {
font: 10px sans-serif;
color: "white";
}
/*.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}*/
#left svg {
height: 1500px;
}
#right svg {
height: 1500px;
}
#center svg {
height: 1500px;
}
circle {
fill-opacity: .7;
}
circle.hidden {
fill: #ccc !important;
r: "100";
}
.extent {
fill: #000;
fill-opacity: .125;
stroke: #fff;
}
/*.x.axis path {
display: none;
}*/
</style>
<title>InfoVis_icon</title>
</head>
<body>
<header>
<div class="inner">
<h1>VisML</h1>
<h2>Evaluating Machine Learning Models with Information Visualization</h2>
<a href="https://github.com/NYU-CS6313-Projects/sp2015-group11" class="button"><small>View project on</small> GitHub</a>
</div>
</header>
<!-- <div id="container">
<div class="leftContent">
</div>
<div class="mainContent"></div>
<div id="pca">
</div>
<div class="rightContent"></div>
</div> -->
<div id="wrapper">
<div id="c1">
<div id="left">
<svg></svg>
</div>
</div>
<div id="c2">
<div id="center">
<svg id="pca"></svg>
</div>
</div>
<div id="c3">
<div id="right">
<svg></svg>
</div>
</div>
</div>
<!-- <div id="container" style="width:100%;">
<div id="left" style="float:left; width:50%;">
<svg></svg>
</div>
<div id="pca" style="float:right; width:50%;">
</div>
</div>
--> <script src="static/javascripts/final.js" ></script>
<script type="text/javascript">
// d3.csv("data/PCA_Transformed_Data.csv", function(error, data) {
// // change string (from CSV) into number format
// data.forEach(function(d) {
// d["PC1"] = +d["PC1"];
// d["PC2"] = +d["PC2"];
// // console.log(d);
// });
// MYLIBRARY.helloWorld(data)
d3.json("data/final.json", function(json) {
dataset = json.features;
MYLIBRARY.helloWorld(dataset);
});
// })
</script>
</body>
</html>