function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 12], ['Arachnology', 25], ['Biodiversity Data Journal', 55], ['Bulletin of the American Museum of Natural History', 26], ['Evolutionary Systematics', 4], ['Journal of Natural History', 5], ['Journal of arachnology', 12], ['Otago Museum Trust Board', 26], ['Phytotaxa', 6], ['Species Diversity', 14], ['ZooKeys', 148], ['Zoological Journal of the Linnean Society', 84], ['Zoological Systematics', 11], ['Zoosystema', 18], ['Zootaxa', 262], ['Other (15)', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=733)', 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);