function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Annales de la Société Entomologique de France, Séries 1 - 6', 3], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 5], ['Bulletin of the Institute of Jamaica, Science Series', 4], ['Canadian Entomologist', 2], ['European Journal of Taxonomy', 7], ['Evolutionary Systematics', 3], ['Ezhegodnik Zoologicheskogo muzeia', 3], ['Journal of Arachnology', 2], ['Journal of Natural History', 10], ['Records of the Western Australian Museum', 3], ['Revue suisse de Zoologie', 3], ['Revue suisse de zoologie', 3], ['Transactions of the American Microscopical Society', 3], ['Zootaxa', 36], ['Other (18)', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=110)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);