function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Argonautidae', 4], ['Bathypolypodidae', 200], ['Cirroteuthidae', 2], ['Eledonidae', 40], ['Enteroctopodidae', 11], ['Grimpoteuthidae', 1], ['Megaleledonidae', 2898], ['Octopodidae', 117], ['Opisthoteuthidae', 31], ['Tremoctopodidae', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=3305)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);