function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Christ. Gottl. Proft', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['Geodiversitas', 3], ['Gottlieb August Lange', 1], ['Ioannis Thomae Trattner', 1], ['Laurentius Salvius', 60], ['Mich. Friedr. Bartsch', 1], ['Mölleri apud Heineck et Faber', 1], ['Officina Libraria Kortii', 5], ['Proft et Storch', 3], ['Transactions of the Linnean Society of London', 3], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 32], ['[G. Remondini e fl.]', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);