function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Anzeiger', 1], ['Biodiversity Data Journal', 31], ['Bulletin of the Biogeographical Society of Japan', 1], ['European Journal of Taxonomy', 13], ['Journal Jinan Univ.', 1], ['Journal of Natural History', 7], ['Journal of the Marine Biological Association of the United Kingdom', 1], ['Lingnan Science Journal', 2], ['Records of the Australian Museum', 4], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 9], ['Systematics and Biodiversity', 3], ['ZooKeys', 12], ['Zootaxa', 103] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=190)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);