function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Arctiidae', 44461], ['Buprestidae', 82303312], ['Crambidae', 55760], ['Erebidae', 41147], ['Gelechiidae', 37608], ['Geometridae', 29532], ['Gracillariidae', 33436], ['Hesperiidae', 15916], ['Nepticulidae', 166828], ['Noctuidae', 49468], ['Nymphalidae', 48369], ['Pyralidae', 20022], ['Tachinidae', 624532], ['Tischeriidae', 70305], ['Tortricidae', 44244], ['Other (123)', 121396] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=83706336)', 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);