function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 2], ['Ammotheidae', 2292], ['Ascorhynchidae', 279], ['Austrodecidae', 8], ['Callipallenidae', 158], ['Colossendeidae', 122], ['Endeidae', 43], ['Munnopsidae', 300], ['Nematocarcinidae', 100], ['Nymphonidae', 134], ['Pallenopsidae', 13], ['Phoxichilidiidae', 1205], ['Polynoidae', 2], ['Pycnogonidae', 75], ['Rhynchothoracidae', 30] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=4763)', 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);