function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Ameletidae', 504], ['Baetidae', 17824], ['Caenidae', 2022], ['Dicercomyzidae', 64], ['Ephemerellidae', 297], ['Euthyplociidae', 84], ['Heptageniidae', 5598], ['Isonychiidae', 206], ['Leptohyphidae', 729], ['Leptophlebiidae', 21458], ['Polymitarcyidae', 1930], ['Potamanthidae', 804], ['Siphlonuridae', 263], ['Teloganodidae', 1734], ['Tricorythidae', 776], ['Other (15)', 201] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=54494)', 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);