function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 2], ['American Museum Novitates', 21], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Annotationes Zoologicae Japonenses', 2], ['Antarctic Research Series', 2], ['Comparative Parasitology', 5], ['Dobutsugaku Zasshi', 8], ['Ecologica Montenegrina', 23], ['Evolutionary Systematics', 2], ['Journal of Parasitology', 5], ['Proceedings of the Imperial Academy', 3], ['Records of the Zoological Survey of India', 5], ['Transactions of the American Microscopical Society', 3], ['ZooKeys', 47], ['Zootaxa', 60], ['Other (32)', 36] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=226)', 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);