FTF Financial Aid, Fall 2015
by Kathryn Atwood
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/funnel.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 410px; max-width: 600px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
type: 'funnel',
marginRight: 225
},
title: {
text: 'First Time Freshmen receiving Finanical Aid, Fall 2015',
x: -50
},
plotOptions: {
series: {
dataLabels: {
enabled: true,
format: '<b>{point.name}</b> ({point.y:,.0f})',
color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black',
softConnector: true
},
neckWidth: '30%',
neckHeight: '25%'
//-- Other available options
// height: pixels or percent
// width: pixels or percent
}
},
legend: {
enabled: false
},
series: [{
name: 'Students',
data: [
['First Time Freshmen', 1893],
['First Time Freshmen receiving Financial Aid', 730],
['Received Pell Grant', 626],
['Received State University Grant', 532],
['Received Cal Grant', 511],
['Received Federal Work Study', 64]
]
}]
});
});