function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 2], ['africanus', 4], ['dentatus', 15], ['encarpatus', 2], ['fayda', 1], ['femineus', 1], ['flabellus', 1], ['imitator', 18], ['maculatus', 9], ['mushrif', 1], ['palaestinensis', 4], ['seychellensis', 1], ['venustulus', 444] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=503)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);