function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Alamprops', 353], ['Bathylamprops', 24], ['Farragolamprops', 12], ['Hemilamprops', 440], ['Lamprops', 12], ['Misceolamprops', 34], ['Paralamprops', 20], ['Phallolampropoides', 50], ['Phallolamprops', 14], ['Platysympus', 373], ['Platytyphlops', 529], ['Pseudoarchaeocuma', 800], ['Pseudolamprops', 14], ['Stenotyphlops', 16], ['Watlingia', 19], ['Other (13)', 54] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=2764)', 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);