function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['Ambystomatidae', 11], ['Batrachosauroididae', 1], ['Cryptobranchidae', 3], ['Hynobiidae', 403], ['Karauridae', 4], ['Plethodontidae', 177], ['Proteidae', 6], ['Salamandridae', 245], ['Sirenidae', 6], ['Urodeles', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=858)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);