function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 5], ['Crassostrea', 6], ['Dendostrea', 3], ['Magallana', 2], ['Mytella', 1], ['Ostrea', 354], ['Ostreola', 1], ['Planostrea', 2], ['Saccostrea', 7], ['Sokolowia', 2], ['Talonostrea', 39] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=422)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);