function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Annalen des Naturhistorischen Museums in Wien, Serie B, Botanik und Zoologie', 1], ['Ecologica Montenegrina', 1], ['Hydrobiologia', 1], ['Invertebrate systematics', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Records of the Zoological Survey of India', 1], ['Science Press', 2], ['Species Diversity', 3], ['ZooKeys', 2], ['Zoological Research', 1], ['Zoologische Jahrbücher, Abteilung für Systematik, Geographie und Biologie der Thiere', 1], ['Zoology in the Middle East', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=21)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);