function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zootaxonomica Sinica', 3], ['Biodiversity Data Journal', 1], ['Bulletin of the National Science Museum, Series A, Zoology', 1], ['Bulletin of the hygienic Laboratory, Washington', 3], ['Indian Journal of Helminthology', 1], ['Journal of Ecobiology', 1], ['Journal of Parasitology', 6], ['PKV Research Journal', 1], ['Parasitology', 1], ['Philippine Journal of Science, Section D', 1], ['Rivista di Parassitologia', 1], ['The Ohio Journal of Science', 1], ['Zoologische Jahrbucher, Abteilung für Systematik', 2], ['Zoologischer Anzeiger', 2], ['Zootaxa', 2], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=29)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);