function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Check List', 2], ['European Journal of Taxonomy', 31], ['Helgoländer Wissenschaftliche Meeresuntersuchungen', 1], ['Journal of Natural History', 30], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 1], ['Revue suisse de Zoologie', 2], ['Species Diversity', 6], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 34], ['Zoological Science', 12], ['Zoological Systematics', 7], ['Zoologischer Anzeiger', 1], ['Zoosystema', 2], ['Zootaxa', 388] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=527)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);