function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien. Mathematisch-Naturwissenschaftliche Klasse', 1], ['Journal of Natural History', 10], ['Proceedings of the Royal Society of Edinburgh, Section B (Biological Sciences)', 31], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 8], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 3], ['Species Diversity', 2], ['Zoological Journal of the Linnean Society', 5], ['Zoological Science', 4], ['Zoologische Jahrbucher, Abteilung für Systematik', 1], ['Zoosystema', 51], ['Zootaxa', 116] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=232)', 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);