function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Amblystegiaceae', 14], ['Brachytheciaceae', 10], ['Cryphaeaceae', 1], ['Entodontaceae', 4], ['Fabroniaceae', 41], ['Hylocomiaceae', 3], ['Hypnaceae', 48], ['Leskeaceae', 9], ['Neckeraceae', 3], ['Plagiotheciaceae', 20], ['Sematophyllaceae', 28], ['Stereocaulaceae', 0], ['Stereophyllaceae', 32], ['Thuidiaceae', 10] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=223)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);