-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
477 lines (439 loc) · 16.2 KB
/
Copy pathindex.html
File metadata and controls
477 lines (439 loc) · 16.2 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
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Anne and Bailey Information Visualization Final Project</title>
<meta name="description" content="A review of informal survey data on the use of technology and public radio.">
<link rel="stylesheet" href="css/style.css">
<script src="js/libs/modernizr-2.5.3.min.js"></script>
<script src="js/libs/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/g.raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/g.bar-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/g.pie-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/slides.jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/slides.min.jquery.js" type="text/javascript" charset="utf-8"></script>
<link href='http://fonts.googleapis.com/css?family=Cabin+Sketch' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<script>
window.onload= function () {
// Universal Variables and functions
var x=0;
var y=0;
var w=500;
var h=350;
var txtattr={font:"1em Arial", fill:"#888", "font-weight": "bold", "color": "#363942", "fill": "#363942"};
// functions for hover
fin = function () {
this.flag = r.popup(this.bar.x, this.bar.y, this.bar.value || "0").insertBefore(this);
};
fout = function () {
this.flag.animate({opacity: 0}, 300, function () {this.remove();});
};
// Our Users Bar Chart
// User Variables
var userdata=[2,12,14,16,13,15,5,4,4,11];
var rusers = Raphael("users");
rusers.barchart(x,y, w, h, [userdata]).attr({"fill":"#363942"}).hover(fin,fout);
// Listener Habits Bar Charts --legend breaks in slides
// Listener Habits Variables
var podcast=[2,6,8,8,9,6,2,2,0,3];
var smartphone=[0,4,2,4,6,2,1,0,0,1];
var streaming=[0,5,13,11,8,3,3,1,0,1];
var radio=[0,7,10,12,9,12,5,3,4,11];
// create canvas
var r = Raphael("listen_habits");
// chart for initial display
r.barchart(x,y, w, h, [podcast, [0,0,0,0,6,0,0,0,0,0]], {stacked: true, colors: ["#363942", "#FCFFF5"]});
// Labels-- there's a bug in the new version of g.raphael. ".axis" no longer works. Try to mimic with html/css. Have tried all of the below.
// var xlabel=["21-23","24-26","27-29","30-32","33-35","36-38","39-41","42-45","46-48","49 and older"];
// x_start, y_start, x_width, from, to, steps, orientation, labels, type, dashsize
// testchart.label([xlabel]);
// axisx=Raphael.g.axis(0,0,w,null,null,10,2,[xlabel], "|", 0,r);
// axisx.text.attr(txtattr);
// Podcast Chart
$('a#podcastChart').click(function(){
// Barchart values are x, y, width, height
if ($('#listen_habits > svg').children().length > 0) {
$('#listen_habits > svg').empty();
chart1= r.barchart(x,y, w, h, [podcast, [0,0,0,0,6,0,0,0,0,0]], {stacked: true, colors: ["#363942", "#FCFFF5"]}).attr({"opacity": 0});
chart1animate=chart1.animate({opacity: 1}, 1500 ).hover(fin,fout);
}
else {
chart1;
chart1animate;
}
});
// Smartphone Chart
$('a#smartphoneChart').click(function(){
if ($('#listen_habits > svg').children().length > 0) {
$('#listen_habits > svg').empty();
chart2=r.barchart(x,y,w,h, [smartphone, [0,0,0,0,9,0,0,0,0,0]],{stacked: true, colors: ["#363942", "#FCFFF5"]}).attr({"opacity": 0});
chart2animate= chart2.animate({opacity: 1}, 1500 ).hover(fin,fout);
}
else {
chart2;
chart2animate;
}
});
// Streaming Chart
$('a#streamingChart').click(function(){
if ($('#listen_habits > svg').children().length > 0) {
$('#listen_habits > svg').empty();
chart3= r.barchart(x,y,w,h, [streaming, [0,0,0,0,0,0,0,0,0,0]], {stacked: true, colors: ["#363942", "#FCFFF5"]}).attr({"opacity": 0,});
chart3animate= chart3.animate({opacity: 1}, 1500 ).hover(fin,fout);
}
else {
chart3;
chart3animate;
}
});
// Radio Chart
$('a#radioChart').click(function(){
if ($('#listen_habits > svg').children().length > 0) {
$('#listen_habits > svg').empty();
chart4=r.barchart(x,y,w,h, [radio, [0,0,3,0,0,0,0,0,0,0]], {stacked: true, colors: ["#363942", "#FCFFF5"]}).attr({"opacity": 0});
chart4animate= chart4.animate({opacity: 1}, 1500 ).hover(fin,fout);
}
else {
chart4;
chart4animate;
}
});
// All chart- stacked chart of all data. Legend?? Also, needs different y axis.
// $('a#all').click(function(){
// if ($('#listen_habits > svg').children().length > 0) {
// $('#listen_habits > svg').empty();
// chart6=r.barchart(x,y,w,h, [podcast,radio,streaming,smartphone],{stacked: true, colors: ["#FF8357", "#363942","#D8CAA8","#209193"]}).attr({"opacity":0});
// chart6animate=chart6.animate({opacity: 1}, 1500 );
// }
// else {
// chart6;
// chart6animate;
// }
// });
// Popular Shows Pie
var p = Raphael("popshows"),
pie = p.piechart(300, 200, 125, [17,11,14,30,16,9], { legend: ["All Things Considered %%","NPR Fresh Air %%","Radiolab %%","This American Life %%","Wait Wait Don't Tell Me %%","Car Talk %%"], legendpos: "east", colors: ["#FF8357", "#82220B", "#363942", "#D8CAA8", "#F5E9AE", "#209193"]}).attr({"stroke-width":3});
pie.hover(function () {
this.sector.stop();
this.sector.scale(1.1, 1.1, this.cx, this.cy);
if (this.label) {
this.label[0].stop();
this.label[0].attr({ r: 7.5 });
this.label[1].attr({ "font-weight": 800 });
}
}, function () {
this.sector.animate({ transform: 's1 1 ' + this.cx + ' ' + this.cy }, 500, "backIn");
if (this.label) {
this.label[0].animate({ r: 5 }, 500, "backIn");
this.label[1].attr({ "font-weight": 400 });
}
});
// Searching for Content largest bar =20
// "Particular episode"
var byepisode=[0,6,7,5,6,4,4,2,2,3];
// "Particular subject"
var bysubject=[0,2,6,3,4,4,2,3,0,5];
// "Similar programs"
var bysimilar=[0,2,5,0,2,3,1,0,0,1];
var rsearch = Raphael("search");
rsearch.barchart(x, y, w, h, [byepisode, bysubject, bysimilar], {stacked: true, colors: ["#FF8357", "#363942","#D8CAA8"]});
// Discover New Shows
var wordofmouth=[2,5,6,4,3,6,1,1,0,1];
var ontheradio=[0,8,6,10,6,7,5,4,3,7];
// "Social media, iTunes, NPR website
var socialmedia=[0,6,6,2,1,2,0,0,0,0];
var rdiscover = Raphael("discover",640, 480);
rdiscover.barchart(x, y, w, h, [wordofmouth, ontheradio, socialmedia], {stacked: true, colors: ["#FF8357", "#363942","#D8CAA8"]});
// User Engagement
// "Age Range":["Total"],
// "Call-ins":["5"],
// "Emailed":["5"],
// "Contributed":["5"],
// "Liked":["13"]
var rengage = Raphael("engagement1"),
engagepie = rengage.piechart(300, 200, 125, [5,5,5,13], { legend: ["Called-in %%","Emailed %%","Contributed %%","Liked %%"], legendpos: "west", colors: ["#FF8357", "#82220B", "#363942", "#D8CAA8"]}).attr({"stroke-width":3});
engagepie.hover(function () {
this.sector.stop();
this.sector.scale(1.1, 1.1, this.cx, this.cy);
if (this.label) {
this.label[0].stop();
this.label[0].attr({ r: 7.5 });
this.label[1].attr({ "font-weight": 800 });
}
}, function () {
this.sector.animate({ transform: 's1 1 ' + this.cx + ' ' + this.cy }, 500, "backIn");
if (this.label) {
this.label[0].animate({ r: 5 }, 500, "backIn");
this.label[1].attr({ "font-weight": 400 });
}
});
};
</script>
</head>
<body>
<style type="text/css" media="screen">
.slides_container {
width:750px;
}
.slides_container div {
width:750px;
height:400px;
display:block;
}
</style>
<div id="title"> PUBLIC RADIO LISTENER HABITS: A POP UP RADIO ARCHIVE SURVEY</div>
<div id="container">
<div id="slides">
<div class="slides_container">
<!-- Slide 1 -->
<div>
<h1>LISTEN UP</h1>
<p>Public radio has a monthly listenership of <span id="number">64.7 million</span> people.</p>
<p>Listenership peaks in the <span id="number">55 to 64</span> age range.</p>
<br></br>
<br></br>
<br></br>
<p style="font-size: 14px">Sources: Arbitron, <a href="http://170millionamericans.org/numbers">http://170millionamericans.org/numbers</a></p>
</div>
<!-- Slide 2 -->
<div>
<h1>BUT WHAT DOES IT MEAN TO LISTEN TO PUBLIC RADIO?</h1>
<p>We conducted a survey to explore this question further.</p>
<p>Admittedly, perhaps because the survey was distributed through the I School and our Facebook networks, most of our respondents were between <span id="number">26 and 38</span> years of age.</p>
<p>Also, <span id="number">72%</span> of our respondents were female.</p>
</div>
<!-- Slide 2 cont -->
<div id="breakdown">
<h1>Breakdown of Survey Participants By Age</h1>
<div id="users"></div>
<div id="xaxis">
<ul>
<li>21-23</li>
<li>24-26</li>
<li>27-29</li>
<li>30-32</li>
<li>33-35</li>
<li>36-38</li>
<li>39-41</li>
<li>42-45</li>
<li>46-48</li>
<li> 49+ </li>
</ul>
</div>
<div id="yaxis">
<ul>
<li>15</li>
<li>14</li>
<li>13</li>
<li>12</li>
<li>11</li>
<li>10</li>
<li>9</li>
<li>8</li>
<li>7</li>
<li>6</li>
<li>5</li>
<li>4</li>
<li>3</li>
<li>2</li>
<li>1</li>
</ul>
</div>
</div>
<!-- Slide 3 -->
<div>
<h1>HOW DO YOU LISTEN TO PUBLIC RADIO?</h1>
<p>Of the <span id=number>96</span> respondents who listen to public radio:</p>
<ul id="habitlist">
<li><span id="number">46</span> listen via podcasts</li>
<li><span id="number">20</span> listen via smartphone applications</li>
<li><span id="number">44</span> listen via online streaming</li>
<li><span id="number">73</span> listen to live broadcasts</li>
</ul>
<p>The responses are not mutually exclusive. Broadcast radio still dominates as the chosen method for accessing radio content.</p>
</div>
<!-- Slide 4 -->
<div id="selection">
<ul id="nav">
<li><a id="podcastChart" href="#">Podcast</a></li>
<li><a id ="smartphoneChart" href="#">Smartphone</a></li>
<li><a id="streamingChart" href="#">Streaming</a></li>
<li><a id="radioChart" href="#">Terrestrial Radio</a></li>
<!-- <li><a id="all" href="#">All</a></li> -->
</ul>
<div id="listen_habits"></div>
<div id="xaxis">
<ul>
<li>21-23</li>
<li>24-26</li>
<li>27-29</li>
<li>30-32</li>
<li>33-35</li>
<li>36-38</li>
<li>39-41</li>
<li>42-45</li>
<li>46-48</li>
<li> 49+ </li>
</ul>
</div>
<div id="yaxis">
<ul>
<li>15</li>
<li>14</li>
<li>13</li>
<li>12</li>
<li>11</li>
<li>10</li>
<li>9</li>
<li>8</li>
<li>7</li>
<li>6</li>
<li>5</li>
<li>4</li>
<li>3</li>
<li>2</li>
<li>1</li>
</ul>
</div>
</div>
<!-- Slide 5-->
<div>
<h1>COMMUTING</h1>
<p> <span id="number">Sixty-five percent</span> of public radio listeners consume shows while commuting to and from school or work.</p>
<p>Over three quarters of that <span id="number">65%</span> listen to live broadcasts.</p>
<p>The most common way that respondents discover their favorite shows is by listening to live broadcasts.</p>
</div>
<!-- Slide 6 -->
<div>
<h1>BUT NEW TECHNOLOGIES ARE GAINING POPULARITY</h1>
<p>Technology such as podcasting and streaming allows listeners to access content when and where they want.</p>
<p>The ability to timeshift content and access digital media via mobile devices enables users to customize their listening experiences. </p>
<p> <span id="number">51 of the 73</span> survey respondents who listen to public radio via terrestrial broadcast waves <span id="number">(70%)</span> supplement their access with alternative listening methods (podcasts, smartphone applications, and online streaming). </p>
</div>
<!-- Slide 7 -->
<div>
<h1>SEARCHING FOR NEW CONTENT</h1>
<p><span id="number">63 of the 96</span> public radio listeners we surveyed <span id="number">(66%)</span> actively search for new radio content. Of the <span id="number">63</span> who search for content:</p>
<ul id="habitlist">
<li><span id="number">42</span> searched for a particular episode</li>
<li><span id="number">29</span> searched for a particular subject</li>
<li><span id="number">14</span> searched for similar programs</li>
</ul>
</div>
<!-- Slide 7 Cont -->
<div id="howdoyousearch">
<h1>How do you search for content?</h1>
<div id="search"></div>
<div id="xaxis">
<ul>
<li>21-23</li>
<li>24-26</li>
<li>27-29</li>
<li>30-32</li>
<li>33-35</li>
<li>36-38</li>
<li>39-41</li>
<li>42-45</li>
<li>46-48</li>
<li> 49+ </li>
</ul>
</div>
<div id="howyousearchyaxis">
<ul>
<li>40</li>
<li>35</li>
<li>30</li>
<li>25</li>
<li>20</li>
<li>15</li>
<li>10</li>
<li>5</li>
</ul>
</div>
</div>
<!-- Slide 8 -->
<div>
<div id="leftpopshows">
<h1>FAVORITE SHOWS</h1>
<p><span id="number">74 of the 96</span> public radio listeners <span id="number">(77%)</span> answered <b>YES</b> to the question <b>DO YOU HAVE A FAVORITE RADIO SHOW?</b> </p>
</div>
<div id="popshows"></div>
</div>
<!-- Slide 9 -->
<div>
<h1>DISCOVERING NEW CONTENT</h1>
<p>Few respondents discovered their favorite shows through social media (3 of 74), iTunes (4 of 74), or NPR’s website (5 of 74). </p>
<p>Twenty-seven of the 74 respondents with a favorite show learned of their favorite shows via “word of mouth," illustrating that personal networks play a significant role in introducing listeners to new content.</p>
<p>However, 53 of the 74 respondents discovered their favorite shows when they heard the program on the radio.</p>
</div>
<!-- Slide 10 -->
<div id="discovershows">
<h1>How do you discover new shows?</h1>
<div id="discover"></div>
<div id="xaxis">
<ul>
<li>21-23</li>
<li>24-26</li>
<li>27-29</li>
<li>30-32</li>
<li>33-35</li>
<li>36-38</li>
<li>39-41</li>
<li>42-45</li>
<li>46-48</li>
<li> 49+ </li>
</ul>
</div>
<div id="discoveryaxis">
<ul>
<li>60</li>
<li>55</li>
<li>50</li>
<li>45</li>
<li>40</li>
<li>35</li>
<li>30</li>
<li>25</li>
<li>20</li>
<li>15</li>
<li>10</li>
<li>5</li>
</ul>
</div>
</div>
<!-- Slide 11 -->
<div>
<div id= "engagement1left">
<h1>USER ENGAGEMENT</h1>
<p>Twenty-two of 96 public radio listeners have contributed to their favorite public radio shows. An average of 5 of those 22 contributed via either call ins, emails, or by contributing pieces. The most prevalent way that respondents contribute to shows is by “liking” the program on social media (14 of 22). It is possible that of the noted options (call ins, email, contributing pieces, and “liking” the program on social media), “liking” requires the least initiative — it is a relatively passive acknowledgement.</p>
</div>
<div id="engagement1">
</div>
</div>
<!-- Slide 12 -->
<div>
<h1>WE'RE GETTING OLDER</h1>
<p>Terrestrial broadcast radio is still the most common way of accessing content (73% of our survey participants listen to content as it airs). According to a 2010 study conducted by Jacobs Media, 35% of public radio listeners own a smartphone, and 90% use the Internet. As millennials and other younger generations age, their Internet habits will inform how they access public radio content.</p>
<p>The younger sample profiled in our survey demonstrates that listeners are using new technology to access radio content. Online and mobile access to content should be a high priority as producers plan for distribution. </p>
</div>
<!-- Navigation -->
</div>
<a href="#" class="prev"><img src="img/arrow-prev.png" width="24" height="43" alt="Arrow Prev"></a>
<a href="#" class="next"><img src="img/arrow-next.png" width="24" height="43" alt="Arrow Next"></a>
</div>
<img src="img/example-frame.png" width="739" height="341" alt="Example Frame" id="frame">
</div>
</body>
<script>
$(function(){
$('#slides').slides({
preload: true,
preloadImage: 'img/loading.gif',
// play: 5000,
// pause: 2500,
// hoverPause: true
});
});
</script>
</html>