function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Protozoologica', 9], ['Biodiversity Data Journal', 16], ['Journal of Eukaryotic Microbiology', 1], ['Journal of Natural History', 27], ['Parasites & Vectors', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Subterranean Biology', 1], ['The Journal of Eukaryotic Microbiology', 1], ['Transactions of the American Microscopical Society', 1], ['Vestnik Zoologii', 1], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=65)', 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);