function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['decora', 0], ['dero', 1], ['devdevi', 0], ['discognathoides', 0], ['lemassoni', 0], ['lippa', 0], ['rendahli', 0], ['tonkinensis', 0], ['tungting', 0], ['wui', 0], ['xanthogenys', 0], ['yunnanensis', 0], ['zhui', 0] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=2)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);