function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Bamboosiella', 198], ['Deplorothrips', 317], ['Dolichothrips', 352], ['Ethirothrips', 1163], ['Haplothrips', 848], ['Heligmothrips', 190], ['Holopothrips', 768], ['Holothrips', 219], ['Hoplothrips', 318], ['Leptothrips', 128], ['Liothrips', 926], ['Mesandrothrips', 153], ['Psalidothrips', 383], ['Stephanothrips', 310], ['Teuchothrips', 484], ['Other (93)', 2710] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=9467)', 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);