function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Allan Hancock Pacific Expeditions', 1], ['Bulletin of the National Science Museum, Series A, Zoology', 2], ['Indian Journal of Helminthology', 2], ['Institute Politecnico Nacional', 1], ['Japanese Journal of Parasitology', 3], ['Journal of Natural History', 1], ['Journal of Scientific Research of the Banaras Hindu University', 1], ['Oceanologia et Limnologia Sinica', 1], ['Parasitology', 1], ['Systematic Parasitology', 2], ['Uttar Pradesh Journal of Zoology', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', 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);