function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Naturgeschichte', 1], ['Dobutsugaku Zasshi', 1], ['Helminthologia', 1], ['Illinois Biological Monographs', 2], ['Indian Journal of Helminthology', 2], ['Japanese Journal of Zoology', 1], ['Journal of helminthology', 1], ['Philippine journal of science', 1], ['Proceedings of the United States National Museum, 3', 1], ['Transactions of the American Microscopical Society', 1], ['Zoologischer Anzeiger', 9], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', 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);