function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiträge Zur Entomologie = Contributions to Entomology', 1], ['Biodiversity Data Journal', 88], ['E. W. Janson', 5], ['European Journal of Taxonomy', 1], ['Exploration scientifique de l\'Alge ́ rie', 1], ['Insecta Mundi', 1], ['Insects of Guam I', 2], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 3], ['Linzer biologische Beiträge', 75], ['ZooKeys', 42], ['Zootaxa', 144] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=363)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);