-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·78 lines (75 loc) · 3.51 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
<!doctype html>
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>CS 194 Project</title>
<meta name="description" content="CS 194 Project.">
<meta name="author" content="Moses S">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- CSS concatenated and minified via ant build script-->
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<!-- end CSS-->
<script src="js/libs/modernizr-2.0.6.min.js"></script>
</head>
<body>
<div id="container" class="container">
<header>
<h1>Similar Song Networks</h1>
<p>Songs similar to one another according to <a href="http://www.last.fm/api">last.fm</a> are linked together. Song nodes are sized based on playcounts, and colored by artist.</p>
</header>
<div id="song_selection" class="control">
<h3>Song</h3>
<select id="song_select">
<option value="pray_for_me.json">Pray for Me</option>
<option value="run_the_world.json">Run the World (Girls)</option>
<option value="alright.json">Alright</option>
<option value="formation.json">Formation</option>
<option value="i_will_always_love_you.json">I Will Always Love You</option>
<option value="apologize.json">Apologize</option>
<option value="respect.json">Respect</option>
</select>
</div>
<div id="controls">
<div id="layouts" class="control">
<h3>Layout</h3>
<a id="force" class="active">Force Directed</a>
<a id="radial">Artists</a>
</div>
<div id="filters" class="control">
<h3>Filter</h3>
<a id="all" class="active">All</a>
<a id="popular">Popular</a>
<a id="obscure">Obscure</a>
</div>
<div id="sorts" class="control">
<h3>Sort</h3>
<a id="songs" class="active">Songs</a>
<a id="links">Links</a>
</div>
<div id="search_section" class="control">
<form id="search_form" action="" method="post">
<p class="search_title">Search <input type="text" class="text-input" id="search" value="" /></p>
</form>
</div>
<div id="main" role="main">
<div id="vis"></div>
</div>
<!-- <footer>
<p>Data from <a href="http://www.last.fm/api/show/track.getSimilar">last.fm</a>. Some songs include additional links for effect.<br />Popular songs are defined as those with playcounts above the median for all songs in network.</p>
</footer> -->
</div>
<!--! end of #container -->
<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> -->
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')</script>
<script defer src="js/plugins.js"></script>
<script defer src="js/script.js"></script>
<script src="js/libs/coffee-script.js"></script>
<script src="js/libs/d3.v2.js"></script>
<script src="js/Tooltip.js"></script>
<script type="text/coffeescript" src="coffee/vis.coffee"></script>
</body>
</html>