function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Aloe', 3], ['Crassula', 14], ['Diopogon', 1], ['Echeveria', 37], ['Graptopetalum', 21], ['Kalanchoe', 182], ['Lycopodium', 1], ['Pachyphytum', 2], ['Petrosedum', 2], ['Phedimus', 2], ['Rhodiola', 7], ['Sedum', 99], ['Sempervivum', 9], ['Sinocrassula', 5], ['Umbilicus', 7], ['Other (7)', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=393)', 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);