function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Acanthogorgiidae', 104], ['Alcyoniidae', 369], ['Anthothelidae', 833], ['Chrysogorgiidae', 237], ['Clavulariidae', 265], ['Coralliidae', 20], ['Ellisellidae', 22], ['Gorgoniidae', 173], ['Isididae', 46], ['Keratoisididae', 1007], ['Melithaeidae', 407], ['Nephtheidae', 103], ['Plexauridae', 944], ['Primnoidae', 1012], ['Xeniidae', 114], ['Other (16)', 65] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=5721)', 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);