function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 2], ['Atyidae', 108], ['Bathysquillidae', 2], ['Eurysquillidae', 5], ['Gonodactylidae', 192], ['Indosquillidae', 2], ['Lysiosquillidae', 5], ['Nannosquillidae', 11], ['Odontodactylidae', 13], ['Parasquillidae', 2], ['Protosquillidae', 39], ['Pseudosquillidae', 13], ['Squillidae', 48], ['Squillidea', 9], ['Tetrasquillidae', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=454)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);