function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Fischereiwissenschaft', 3], ['Australian zoologist', 2], ['Biodiversity Data Journal', 2], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the United States National Museum', 2], ['Canadian Journal of Zoology', 1], ['Cybium', 1], ['European Journal of Taxonomy', 2], ['Neotropical Ichthyology', 1], ['New Zealand journal of marine and freshwater research', 2], ['Physis', 1], ['Proceedings of the American Philosophical Society', 1], ['Proceedings of the Biological Society of Washington', 1], ['Zoosystema', 4], ['Zootaxa', 76], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=102)', 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);