function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['Berlin', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Hayez', 1], ['Indian Journal of Helminthology', 2], ['Parasite', 1], ['Parasites & Vectors', 1], ['Proceedings of the Helminthological Society of Washington', 2], ['Raffles Bulletin of Zoology', 2], ['Species Diversity', 2], ['Vestnik Zoologii', 1], ['ZooKeys', 38], ['Zoosystema', 95], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=180)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);