forked from usf-cs360-spring2020/project-krmiddlebrook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataset.html
261 lines (237 loc) · 10.7 KB
/
dataset.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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Music Atlas</title>
<script src="https://distill.pub/template.v2.js"></script>
<!-- Load Font Awesome 5 (free) icons -->
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
</head>
<body>
<nav class="navbar" role="navigation" aria-label="main navigation">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel='stylesheet' href='assets/css/navbar.css'></link>
<div class="container">
<div class="navbar-brand">
<a class="navbar-item" href="index.html">
<span class="icon"><i class="fas fa-home"></i></span>
<span>Home</span>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="main-menu">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="main-menu" class="navbar-menu has-text-weight-medium">
<!-- Left navbar items -->
<div class="navbar-start">
<!-- The data icon -->
<a class="navbar-item" href="dataset.html" title="Data">
<span class="icon"><i class="fas fa-table"></i></span>
<span>Data</span>
</a>
<!-- prototypes -->
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Prototype
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="genre_map_proto.html" title="Genre Map Prototype">
<span class="icon"><i class="fas fa-paint-brush"></i></span>
<span>Genre Map</span>
</a>
<a class="navbar-item" href="playlist_relationships_map_proto.html" title="Playlist Relationships Map Prototype">
<span class="icon"><i class="fas fa-paint-brush"></i></span>
<span>Playlist Relationships Map</span>
</a>
<a class="navbar-item" href="artist_sound_progression_proto.html" title="Artist Sound Progression Map Prototype">
<span class="icon"><i class="fas fa-paint-brush"></i></span>
<span>Artist Sound Progression Map</span>
</a>
</div>
</div>
<!-- visualizations -->
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Visualizations
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="genre_map.html" title="Genre Map">
<span class="icon"><i class="fas fa-paint-brush"></i></span>
<span>Genre Map</span>
</a>
<a class="navbar-item" href="playlist_relationships_map.html" title="Playlists Relationships Map">
<span class="icon"><i class="fas fa-paint-brush"></i></span>
<span>Playlists Relationships Map</span>
</a>
<a class="navbar-item" href="artist_sound_progression.html" title="Artist Sound Progression Map">
<span class="icon"><i class="fas fa-paint-brush"></i></span>
<span>Artist Sound Progression Map</span>
</a>
</div>
</div>
</div>
<!-- Right navbar items -->
<div class="navbar-end">
<!-- TODO: Update as needed -->
<a class="navbar-item" href="about.html" title="About">
<span class="icon"><i class="fas fa-info-circle"></i></span>
<span>About</span>
</a>
</div>
</div>
</div>
</nav>
<!-- End page navigation -->
<!-- <section class="section"> -->
<d-article>
<!-- <div class="container"> -->
<!-- Begin page content -->
<h2 style='text-align: center;'>Spotify Data</h2>
<p>The Music Atlas is based entirely off of Spotify data <d-cite key='spotify'></d-cite>. Three separate, but related, sets of data were collected. The first set of data collected information about Spotify curated playlists, the second set
gathered artist-level data, and the third set collected a wider range of playlist data by removing the Curated by Spotify constraint.
All data was collected and accessed through Spotify's public API between March 20th and April 14th. To use Spotify's API, you will need an access token, which can be acquired by creating a
<a href="https://developer.spotify.com/">Spotify Developer Account <d-cite key='spotify_for_developers_2020'></d-cite></a>.
The data I collected is available here: <a href="#">Spotify Data for the Music Atlas (under construction)</a>.
</p>
<!-- Data License -->
<blockquote>
<p>
"License to Developer. Subject to and conditional upon your compliance at all times with these Developer Terms, particularly the limitations in Section IV below, Spotify grants to you a limited, non-exclusive, non-transferable,
non-sublicensable, revocable right during the Term (as defined in Section IX.10)...". For non-streaming SDAs (e.g., Music Atlas) Spotify Grants permission to develop and distribute Non-Streaming SDAs that comply with the Branding Guidelines
for use with the Spotify Service.<d-cite key='spotify_for_developers_terms2020'></d-cite>".
</p>
</blockquote>
<p>
Overview of the data:<br />
<div class="tags is-centered">
<span class="tag is-info is-medium">Total Combined Rows: <b>~2.5mil</b></span>
<span class="tag is-info is-medium">Data is updated: <b>Daily</b> </span>
</div>
</p>
<div class="table-container">
<table class="table is-hoverable">
<!-- the top row of data table -->
<thead>
<!-- the column names -->
<tr>
<th>#</th>
<th>Dataset</th>
<th>Description</th>
<th>size (# rows)</th>
<th>Relevant Columns</th>
<th>Relevant Visualization(s)</th>
</tr>
</thead>
<!-- Body of the rest of the data table -->
<tbody>
<!-- Rows -->
<tr>
<!-- Row 1 -->
<!-- th = bold font, td = not bold font -->
<th>1</th>
<td>Genre Dataset</td>
<td>Track-level metadata from popular Spotify Curated Genre Playlists</td>
<td>~822k</td>
<td>track_id, album_id, artist_id, track_audio_features, genre</td>
<td><a href="genre_map.html"><span>Genre Map</span></a>
<a href="playlist_map.html"><span>Playlist Relationship Map</span></a>
</td>
</tr>
<!-- Row 2 -->
<tr>
<th>2</th>
<td>Playlist Dataset</td>
<td>Track-level metadata from popular playlists on Spotify. Note, this is not the same as the Genre Dataset because we aren't requiring the playlist to be a Spotify Curated Playlist.</td>
<td>~1.67mil</td>
<td>playlist_id, track_id, artist_id, track_audio_features</td>
<td><a href="genre_map.html"><span>Genre Map</span></a>
<a href="playlist_map.html"><span>Playlist Relationship Map</span></a>
</td>
</tr>
<tr>
<th>3</th>
<td>Artist Dataset</td>
<td>Track and Album-level metadata for a small set of hand picked artists.</td>
<td>~1k</td>
<td>artist_id, track_id, album_id, track_audio_features, release_date</td>
<td><a href="artist_dev.html"><span>Artist Sound Progression Map</span></td>
</tr>
</tbody>
</table>
</div>
<!-- End page content -->
</d-article>
</div>
<div>
<!-- Page appendix -->
<d-appendix>
<h3>Acknowledgments</h3>
<p>
I am grateful to <a href="https://colah.github.io/">Chris Olah</a> and the rest of the <a href="https://distill.pub/"> Distill Pub</a> team for there insightful blog posts. Also, a big thank you to <a
href="https://sjengle.cs.usfca.edu/">Sophie Engle</a> for formally introducing me to data visualization.
</p>
<h3>Contributions</h3>
<p>
Work was complete by Kai unless noted otherwise.
</p>
<p>
<b>Concepts & Writting:</b> Kai introduced and wrote the central concept and structure of this article.
</p>
<p>
<b>Figures & Code:</b> Some figures were drafted in <a href="rawgraphs.io">RawGraphs</a>. For all figures, the final version was implemented in <a href="https://d3js.org/">D3</a>. All code was written by Kai.
</p>
<h3>Reviewers</h3>
<p>Some text with links describing who reviewed the article.</p>
<d-bibliography src="bibliography.bib"></d-bibliography>
</d-appendix>
</div>
<!-- Page footer -->
<!-- https://bulma.io/documentation/layout/footer/ -->
<section></section>
<footer class="footer">
<div class="content has-text-centered is-size-7">
<p>
<a href="#top">
<span class="fas fa-arrow-up"></span>
<span class="has-text-weight-medium">Back to Top</span>
</a>
</p>
<p>
<b>Acknowledgements:<b>
<br>
<a href="https://github.com/usf-cs360-spring2020/midterm-persimmon" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-github-alt"></i> <strong>Github</strong>
</a>
<a href="https://fontawesome.com/" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-font-awesome"></i> <strong>FontAwesome</strong>
</a>
<a href="https://bulma.io" class="button is-small">
<img src="https://bulma.io/images/made-with-bulma--semiblack.png" alt="Made with Bulma" width="128" height="24">
</a>
</p>
</div>
</footer>
<!-- End page footer -->
<!-- Mobile menu responsiveness -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<script>
document.addEventListener('DOMContentLoaded', () => {
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if ($navbarBurgers.length > 0) {
$navbarBurgers.forEach(el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const $target = document.getElementById(target);
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
<!-- End mobile menu responsiveness -->
</body>
</html>