function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Deterville; Treuttel et Würtz', 1], ['Frontiers in Marine Science', 1], ['Hallageriis', 1], ['Journal of Natural History', 16], ['Proceedings of the Japanese Society of Systematic Zoology', 2], ['Proceedings of the Royal Society of Edinburgh, Section B (Biology)', 11], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 1], ['Species Diversity', 1], ['ZooKeys', 2], ['Zoosystema', 7], ['Zoosystematics and Evolution', 1], ['Zootaxa', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=88)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);