function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['bengalensis', 3], ['bennetti', 3], ['exanthematicus', 12], ['griseus', 2], ['indicus', 2], ['louisiadensis', 2], ['nebulosus', 23], ['nesterovi', 5], ['niloticus', 33], ['ornatus', 11], ['prisca', 2], ['salvator', 21], ['semotus', 4], ['tanimbar', 3], ['tsukamotoi', 10], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=141)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);