JavaScript
$(function () {
$('#container').highcharts({
title: {
text: "Comments on /r/anime's discussion threads",
x: -20 //center
},
subtitle: {
text: 'Source: The Searchbar - big thanks to the consistent thread creators.',
x: -20
},
xAxis: {
title: {
text: 'Episode number'
},
categories: ['1', '2', '3', '4', '5', '6',
'7', '8', '9', '10', '11', '12', '13']
},
yAxis: {
title: {
text: 'Comments'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
valueSuffix: ' comments'
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [{
name: 'Abarenbou Rikishi!! Matsutarou',
data: [14, 0, 6, 3, 2, 3, 3, 0, 0, 0, 0, 2]
}, {
name: 'Ace of Diamonds (+24)',
data: [12, 28, 22, 7, 10, 22, 8, 7, 6, 17, 18, 16, 15]
}, {
name: 'Akuma no Riddle',
data: [172, 109, 159, 86, 74, 137, 97, 62, 102, 143, 102, 232]
}, {
name: 'Baby Steps',
data: [39, 28, 20, 29, 24, 14, 18, 32, 13, 11, 24, 16, 16]
}, {
name: 'Black Bullet',
data: [260, 321, 229, 521, 241, 257, 381, 298, 319, 367, 302, 445, 436]
}, {
name: 'Blade & Soul',
data: [121, 48, 27, 24, 50, 14, 20, 31, 20, 17, 19, 34, 25]
}, {
name: 'Bokura wa Minna Kawaisou',
...