function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['attica', 4], ['bifrons', 0], ['britannica', 0], ['candida', 5], ['conyzae', 0], ['ensifolia', 0], ['germanica', 0], ['gnaphalodes', 1], ['helenium', 0], ['hirta', 0], ['limonella', 3], ['montana', 3], ['parnassica', 4], ['salicina', 1], ['verbascifolia', 2], ['Other (2)', 0] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=23)', 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);