function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Musei Nationalis Pragae Series B', 3], ['Biodiversity Data Journal', 22], ['European Journal of Taxonomy', 4], ['Journal of Natural History', 13], ['Journal of Species Research', 6], ['Linzer biologische Beiträge', 1], ['Organisms Diversity & Evolution', 1], ['Public Library of Science, ONE', 1], ['Raffles Bulletin of Zoology', 1], ['Records of the Zoological Survey of India', 4], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 33] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=90)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);