function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Naturgeschichte', 1], ['Colonial Museum and Geological Survey Department', 1], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien', 1], ['Discovery Reports', 1], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the Linnean Society of New South Wales', 5], ['Records of the Australian Museum', 1], ['Report of the British Association for the Advancement of Science', 1], ['Revista Chilena de Historia Natural', 1], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=23)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);