function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Andreas Hartvig Godiche', 1], ['Biodiversity Data Journal', 6], ['European Journal of Taxonomy', 88], ['Journal of Natural History', 75], ['Memoirs of Museum Victoria', 1], ['Memoirs of the Queensland Museum', 1], ['Records of the Australian Museum', 2], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 33], ['Species Diversity', 9], ['Turkish Journal of Zoology', 5], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 17], ['Zoosystematics and Evolution', 46], ['Zootaxa', 326], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=622)', 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);