function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annalen des Naturhistorischen Museums in Wien', 1], ['Biodiversity Data Journal', 5], ['Bulletin of the Department of Zoology University of the Panjab (New Series)', 3], ['Japanese Journal of Zoology', 4], ['Proceedings of the National Academy of Sciences, India, Section B, Biological Sciences', 2], ['Scientific Survey of Porto Rico and the Virgin Islands', 1], ['The Biological Bulletin', 1], ['Zoodiversity', 4], ['Zootaxa', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);