function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['armata', 3], ['armigera', 1], ['boliviensis', 12], ['consobrina', 15], ['fragilis', 1], ['geniculata', 9], ['kawensis', 2], ['laceyi', 10], ['lissonota', 2], ['nigroapicalis', 1], ['plicicollis', 1], ['rugicollis', 4], ['ruthveronae', 1], ['tristis', 9], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=73)', 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);