function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Check List', 2], ['Journal of Natural History', 52], ['Journal of Plankton Research', 2], ['Proceedings of the Biological Society of Washington', 3], ['Raffles Bulletin of Zoology', 4], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 20], ['Species Diversity', 4], ['The American Journal of Science and Arts, Series 2', 3], ['Turkish Journal of Zoology', 3], ['ZooKeys', 48], ['Zoological Journal of the Linnean Society', 7], ['Zoosystematica Rossica', 3], ['Zoosystematics and Evolution', 3], ['Zootaxa', 96], ['Other (13)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=268)', 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);