function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 1], ['Biodiversity Data Journal', 20], ['Caucasian Entomological Bulletin', 2], ['Far Eastern Entomologist', 2], ['UPLB Museum Publications in Natural History', 1], ['Veröffentlichungen des Tiroler Landesmuseums Ferdinandeum', 1], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 1], ['Zoological Systematics', 5], ['Zoosystema', 6], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', 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);