EDUC Enroll
author(s):
Torstein Hønsi
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
-Highcharts.chart('container', {
chart: {
type: 'line'
},
title: {
text: 'Sonoma State Education Postbaccalaureate Enrollment, 2013-2017'
},
xAxis: {
categories: ['2013', '2014', '2015', '2016', '2017']
},
yAxis: {
title: {
text: 'Number of Students'
}
},
plotOptions: {
line: {
dataLabels: {
enabled: true
},
enableMouseTracking: false
}
},
series: [{
name: 'Postbaccalaureate Students',
data: [134, 130, 104, 95, 81]
}]
});