function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['attenuatus', 2], ['cervinus', 632], ['emarginatus', 11], ['jaspideus', 15], ['jianyueae', 2], ['largus', 6], ['levigatus', 1], ['liangshanensis', 21], ['maculosus', 6], ['mongolicus', 13], ['nigronotatus', 5], ['nivipictus', 37], ['russus', 3], ['sublineatus', 4], ['vittatus', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=760)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);