function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Academii Nauk', 1], ['Acta Parasitologica Polonica', 1], ['Bulletin of the Zoological Survey of India', 1], ['Indian Journal of Helminthology', 1], ['Izvestiya Tikhookeanskogo Nauchno-Issledovatel\'skogo Instituta Rybnogo Khozyaistva i Okeanografii (TINRO)', 1], ['Journal of Parasitology', 1], ['Pacific Science', 2], ['Transactions of the Biogeographical Society of Japan', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', 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);