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], ['International Journal for Parasitology: Parasites and Wildlife', 10], ['Parasite', 4], ['Proceedings of the Helminthological Society of Washington', 2], ['Raffles Bulletin of Zoology', 2], ['Species Diversity', 4], ['Turkish Journal of Zoology', 2], ['ZooKeys', 38], ['Zoologia', 2], ['Zoosystema', 95], ['Zootaxa', 32], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=199)', 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);