function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Bractechlamys', 198], ['Cryptopecten', 607], ['Decatopecten', 399], ['Delectopecten', 58], ['Glorichlamys', 292], ['Gloripallium', 108], ['Haumea', 83], ['Hemipecten', 66], ['Laevichlamys', 253], ['Mesopeplum', 174], ['Mimachlamys', 1112], ['Pecten', 472], ['Semipallium', 556], ['Serratovola', 234], ['Talochlamys', 83], ['Other (30)', 498] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=5193)', 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);