function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biologiya Morya, Kiev', 1], ['Bulletin of the British Museum (Natural History), Zoology Series', 1], ['Journal of Fujian Teachers University (Natural Science)', 1], ['Journal of Parasitology', 4], ['Keigaku Publishing Company', 2], ['Memórias do Instituto Oswaldo Cruz', 1], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 1], ['Research Bulletin of the Meguro Parasitological Museum', 1], ['Satyû Yamaguti', 5], ['ZooKeys', 1], ['Zoologicheskii Zhurnal', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', 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);