function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amazoniana', 1], ['Anales del Instituto de Biologia Universidad de Mexico', 1], ['Izdat " Nauka "', 1], ['Journal of Fujian Teachers University (Natural Science)', 1], ['Journal of Parasitology', 3], ['Journal of the Egyptian Veterinary Medical Association', 2], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 2], ['Parasitology', 4], ['Parazitologicheskii Sbornik', 1], ['Revista Brasileira de Biologia', 1], ['Science Publications', 1], ['Scientific Survey of Porto Rico and the Virgin Islands', 1], ['ZooKeys', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);