function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Arctiidae', 44461], ['Buprestidae', 82303312], ['Crambidae', 55858], ['Erebidae', 42300], ['Gelechiidae', 43295], ['Geometridae', 32812], ['Gracillariidae', 33436], ['Hesperiidae', 15921], ['Nepticulidae', 166828], ['Noctuidae', 49740], ['Nymphalidae', 48845], ['Pyralidae', 20098], ['Tachinidae', 624532], ['Tischeriidae', 70305], ['Tortricidae', 44244], ['Other (123)', 121480] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=83717467)', 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);