function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biologia Gallo-Hellenica', 1], ['Check List', 1], ['Eawag: Swiss Federal Institute of Aquatic Science and Technology', 3], ['Report of the United States Commissioner of Fish and Fisheries', 1], ['Rev. Idrobiol.', 1], ['Trudy Otdela Ichtiol. Russ. Obsc. Akklimat. Zhiv. Moskva.', 1], ['Turkish Journal of Zoology', 2], ['Vestnik Zoologii', 2], ['Zoosystematica rossica', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);