function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 9], ['Biodiversity Data Journal', 138], ['Deutsche Entomologische Zeitschrift', 12], ['Far Eastern Entomologist', 262], ['Fauna of New Zealand', 37], ['Insecta Mundi', 8], ['Insects of Guam I', 22], ['Journal of Natural History', 86], ['New Zealand journal of zoology', 6], ['Proceedings of the Hawaiian Entomological Society', 21], ['Proceedings of the United States National Museum, 3', 7], ['Species Diversity', 6], ['ZooKeys', 203], ['Zoological Systematics', 110], ['Zootaxa', 2786], ['Other (55)', 100] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3813)', 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);