function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['C. Fritsch', 2], ['C. G. Proft, Fil. et Soc.', 9], ['Carolum Reichard', 1], ['Christ. Gottl. Proft', 1], ['Eberhard Klett et Franck', 12], ['Faunus (Gistel\'s)', 1], ['Felsecker', 1], ['H. Steiner und Comp.', 1], ['Io. Frid. Gleditsch', 1], ['Ioannis Thomae Trattner', 16], ['Journal of the proceedings of the Linnean Society, Zoology', 1], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 2], ['Laurentii Salvii', 14], ['Officina Libraria Kortii', 3], ['Robson and Co.', 2], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=69)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);