-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (58 loc) · 1.55 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
<html>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<style>
body {
font: 10px sans-serif;
font-family: 'Ubuntu'
}
.group-tick line {
stroke: #000;
}
svg {
/*Center the svg*/
display: block;
margin: auto;
}
.chord {
stroke: none;
}
.grid line {
stroke: grey;
stroke-opacity: 0.7;
stroke-width: 1;
shape-rendering: crispEdges;
stroke-dasharray: 3,3;
}
.tick text {
font-size: 15px;
}
.grid path {
stroke-width: 0;
}
.centered-text {
dominant-baseline: middle;
text-anchor: middle;
}
</style>
<svg width="1200" height="10600">
<defs>
<radialGradient id="statesfadeout" cx="50%" cy="0%" r="100%" fx="50%" fy="0%">
<stop offset="0%" stop-color="hsl(240, 100%, 44%)"/>
<stop offset="40%" stop-color="hsl(240, 100%, 44%)"/>
<stop offset="100%" stop-color="white"/>
</radialGradient>
<radialGradient id="nyfadeout" cx="50%" cy="0%" r="100%" fx="50%" fy="0%">
<stop offset="0%" stop-color="hsl(230, 90%, 61%)"/>
<stop offset="40%" stop-color="hsl(230, 90%, 61%)"/>
<stop offset="100%" stop-color="white"/>
</radialGradient>
</defs>
</svg>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="data/cornell_usage.js"></script>
<script src="js/utils.js"></script>
<script src="js/main.js"></script>
<script src="js/parseData.js"></script>
<script src="js/thirsty_cows.js"></script>
</html>