function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['anastasiae', 44], ['datanlanicus', 42], ['dilimanensis', 106], ['harmsworthi', 5], ['helenae', 3], ['insanis', 71], ['nuragicus', 2], ['radiatus', 2], ['romani', 6], ['sicheli', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=282)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);