function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 7], ['Bulletin of the American Museum of Natural History', 2], ['Check List', 2], ['Evolutionary Systematics', 5], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Vertebrate Zoology', 19], ['ZooKeys', 4], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=83)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);