function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['brevistilis', 1], ['burdwanensis', 1], ['ceylonensis', 2], ['chianensis', 18], ['claviger', 2], ['ekaterinae', 9], ['hrdyi', 10], ['lignicolus', 294], ['lutegiensis', 6], ['pampaensis', 6], ['quasiclaviger', 2], ['sejongi', 2], ['sidorchukae', 8], ['trichiurus', 2], ['vacua', 3], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=371)', 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);