function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Eberhard Klett et Franck', 1], ['Io. Frid. Gleditsch', 1], ['Ioannis Thomae Trattner', 2], ['Laurentii Salvii', 5], ['Laurentius Salvius', 18], ['Linzer biologische Beiträge', 1], ['Proft et Storch', 1], ['Siegfried Lebrecht Crusius', 1], ['Typis Hæredum Widmanstadii', 1], ['Weingand & Köpf', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=32)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);