function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Beiträge Zur Entomologie = Contributions to Entomology', 1], ['Biodiversity Data Journal', 2], ['Isis von Oken', 1], ['Rudolfinum – Jahrbuch des Landesmuseums für Kärnten', 1], ['Vestnik Zoologii', 1], ['ZooKeys', 2], ['Zootaxa', 73] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=83)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);