function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zootaxonomica Sinica', 107], ['Biodiversity Data Journal', 190], ['Indian Journal of Helminthology', 166], ['Japanese Journal of Zoology', 213], ['Journal of Natural History', 270], ['Journal of Parasitology', 393], ['Keigaku Publishing Company', 221], ['Proceedings of the Helminthological Society of Washington', 186], ['Rivista di Parassitologia', 184], ['Systematic Parasitology', 306], ['Transactions of the American Microscopical Society', 108], ['ZooKeys', 461], ['Zoological Journal of the Linnean Society', 165], ['Zoosystema', 441], ['Zootaxa', 2907], ['Other (731)', 5159] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=11477)', 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);