function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Fischereiwissenschaft', 1], ['Cybium', 1], ['European Journal of Taxonomy', 5], ['Journal of Fish Biology', 3], ['Journal of the Washington Academy of Sciences', 1], ['Laurentius Salvius', 3], ['Memoirs of the Carnegie Museum', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Raffles Bulletin of Zoology', 1], ['Transactions of the American Philosophical Society', 1], ['Zootaxa', 54] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=73)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);