function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 4], ['Archiv für Molluskenkunde', 1], ['Biodiversity Data Journal', 3], ['Contributions to Natural History', 1], ['European Journal of Taxonomy', 3], ['Håkan Ohlsson', 1], ['Linzer biologische Beiträge', 5], ['Proceedings of the Malacological Society of London', 5], ['Proceedings of the Zoological Society of London', 1], ['Renaud', 1], ['Revue suisse de Zoologie', 2], ['Ruthenica, Russian Malacological Journal', 1], ['University Press', 1], ['ZooKeys', 8], ['Zootaxa', 2], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', 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);