function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Laticeps', 800], ['aegyptius', 5], ['angulatus', 3], ['arenaceus', 2], ['griseus', 6], ['kerzhneri', 3], ['kiritshenkoi', 1], ['lindbergi', 4], ['linnavuorii', 1], ['zibanicus', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=826)', 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);