FTF SAT scores
by Kathryn Atwood
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
title: {
text: 'First Time Freshmen Average SAT Scores, 2011-2015',
x: -20 //center
},
subtitle: {
text: 'Hover over any point to get the corresponding value.',
x: -20
},
xAxis: {
categories: ['2011', '2012', '2013', '2014', '2015']
},
yAxis: {
min: 900,
max: 1100,
tickInterval: 20,
lineWidth: 1,
title: {
text: 'SAT Scores'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
valueSuffix: ''
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [{
name: 'First Time Freshmen',
data: [1018, 1010, 993, 992, 994]
}]
});
});