-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
142 lines (130 loc) · 6.19 KB
/
index.html
File metadata and controls
142 lines (130 loc) · 6.19 KB
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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Music of the Ages</title>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="iThing-min.css" type="text/css" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
<script src="jQDateRangeSlider-min.js"></script>
<link rel="stylesheet" href="css/foundation.css" />
<script src="js/vendor/modernizr.js"></script>
<script src='script.js'></script>
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="shortcut icon" type="image/ico" href="favicon.ico" />
</head>
<body>
<div class='row'>
<div class='large-3 columns' id='left_bar'>
<div class='row'>
<div class='large-12 columns'>
<div class='row' id='home'>
<div class='large-4 columns'>
<img src='record.gif' alt='home' id='icon'/>
</div>
<div class='large-8 columns'>
<h3 id='welcome'>Welcome to Music of the Ages!</h3>
</div>
</div><!--row-->
<div class='row padding'>
<h5>By Peter Blanco, Demitri Tzitzon, and Alex Meyers</h5>
<h6>The graph to the side is a representation of top Billboard Songs in the last 24 years.</h6>
<p>The popularity of the song is based off of Lancefer's scoring system where points are awarded for each week the song is on the chart, and by how high it is ranked on the billboard.</p>
<p>Click on a circle to see more information about the specific song and to isolate other songs by the artist. To reset the graph, simply click on the white space in the graph. You may also drag the information box around in case it is covering certain data points.</p>
<p>Drag the slider to change the timeline of songs displayed.</p>
</div><!--row-->
</div>
</div>
</div><!-- 3 cols -->
<div class='large-6 columns'>
<div class='row lesspadding'>
<div class='large-12 columns'>
<div id='canvas'></div>
</div><!--12-->
</div><!--row-->
<div class='row lesspadding'>
<div class='large-12 columns'>
<div id="slider"></div>
</div><!--12 cols-->
</div><!--row-->
</div><!-- 7 cols-->
<div class='large-3 columns' id='right_bar'>
<div class='row' id='search_area'>
<div class='large-12 columns'>
<p id='negative_margin'>Use the search box below to find specific songs. Note: It is case sensitive.</p>
</div>
<div class='row'>
<div class="large-12 columns">
<input type="text" placeholder="Find Songs" id='searchbox'>
</div>
</div>
<div class='row' id='searchbuttonarea'>
<div class="large-6 columns">
<a href="#" class="alert button" id='searchboxbutton'>Search</a>
</div>
<div class="large-6 columns">
<a href="#" class="success button" id='resetnodes'>Reset</a>
</div>
</div>
</div><!--row-->
<div class='row padding'>
<div class='large-12 columns'>
<p class='right_text'>Click on a genre in the legend to isolate those songs on the graph.</p>
<div class='my-legend'>
<div class='legend-title'><h5>Genres by Color</h5></div>
<div class='legend-scale'>
<ul class='legend-labels'>
</ul>
</div>
<div class='legend-source'>Source: <a href="http://www.infochimps.com/datasets/the-whitburn-project-120-years-of-music-chart-history" target='_blank'>The Whitburn Project</a></div>
</div>
</div><!--12-->
</div><!--row-->
</div><!-- large-2 cols -->
</div><!--row-->
<div id='popupBox'>
<h3>Song Information:</h3>
<table>
<tbody>
<tr>
<td>Name</td>
<td id='name'></td>
<td>Artist</td>
<td id='artist'></td>
</tr>
<tr>
<td>Genre</td>
<td id='genre'></td>
<td>Album</td>
<td id='album'></td>
</tr>
<tr>
<td>Year</td>
<td id='year'></td>
<td>Date Peaked</td>
<td id='peak'></td>
</tr>
<tr>
<td>Highest Billboard Rank</td>
<td id='high'></td>
<td>Length</td>
<td id='length'></td>
</tr>
<tr>
<td>Lacefer Score</td>
<td id='temp1'></td>
<td>Yearly Rank</td>
<td id='yearlyrank'></td>
</tr>
</tbody>
</table>
</div>
<audio id="audio" src="http://dev.interactive-creation-works.net/1/1.ogg" ></audio>
<script src="js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>