function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1], ['Afrotyphlops', 224], ['Amerotyphlops', 14], ['Anilios', 2], ['Argyrophis', 5], ['Indotyphlops', 30], ['Letheobia', 9], ['Malayotyphlops', 1], ['Megatyphlops', 136], ['Ramphotyphlops', 13], ['Rhinotyphlops', 1], ['Typhlops', 57], ['Xerotyphlops', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=495)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);