-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdatavis.html
58 lines (45 loc) · 2.29 KB
/
datavis.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="datavis.css" />
<title>Text Based Playlist Generation</title>
<script src="http://www.youtube.com/player_api"></script>
<script type="text/javascript" src="d3/d3.js"></script>
<script type="text/javascript" src="d3/d3.layout.js"></script>
<script type="text/javascript" src="genreTree.js"></script>
<script type="text/javascript" src="releaseData.js"></script>
<script type="text/javascript" src="dataStructures.js"></script>
<script type="text/javascript" src="loadData.js"></script>
</head>
<body>
<div id="wrapper">
<div id="title">Semi-Specific Musical Playlist Generator</div>
<div id="title_seperator"></div>
<div id="switch" class="unselectable switches">
Choose an interaction type:
<button id="listSwitch" class="switchButton selectedButton" onclick="handleSwitch(LIST_SWITCH)">List</button>
<button id="burstSwitch" class="switchButton" onclick="handleSwitch(BURST_SWITCH)">Burst</button>
<button id="packSwitch" class="switchButton" onclick="handleSwitch(PACK_SWITCH)">Pack</button>
</div>
<div id="playlistDiv" class="unselectable playlistDiv"></div>
<div id="container" class="unselectable container"></div>
<div id="instructions">
<p id="instructions_title">How to Use:</p>
<p class="instruction">Single-click to navigate.</p>
<p class="instruction">Shift + click plays a song from the category you click on.</p>
</div>
<script type="text/javascript" src="initVis.js"></script>
<script type="text/javascript" src="playlist.js"></script>
<script type="text/javascript" src="songpack.js"></script>
<script type="text/javascript" src="songburst.js"></script>
<script type="text/javascript" src="textList.js"></script>
<script type="text/javascript" src="switch.js"></script>
<div id="footer">
<p>Created by Blake Carpenter and Jason Riggs : <a href="http://cs448b.stanford.edu" target="_blank">cs448b - Data Visualization</a> : Stanford University</p>
<p>Musical Metadata Source : <a href="http://www.discogs.com/data/" target="_blank">Discogs November 2011 XML Database Dump</a></p>
<p>Music source : <a href="http://www.youtube.com" target="_blank">YouTube</a></p>
<br />
</div>
</div>
</body>
</html>